Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i use another sink for my local couputer, Roc closes the session #26

Closed
efesogut opened this issue Jul 15, 2021 · 3 comments
Closed
Labels
defect Something isn't working

Comments

@efesogut
Copy link

Hello evryone. I dont know is this a bug or feature but it puts me in trouble :). When i use another audio source on my local coumputer, Roc server is closes the session. When i restart my local pulseaudio it connect again but if i dont use roc sink it closes again. This is my log:

note: this is my first github issue and sorry for my bad english

15:57:09.524 [inf] roc_pipeline: receiver: creating session: src_addr=192.168.15.180:35718 dst_addr=0.0.0.0:10001
15:57:09.525 [dbg] roc_packet: delayed reader: initializing: delay=8820
15:57:09.525 [dbg] roc_fec: of decoder: initializing: codec=rs m=8
15:57:09.525 [dbg] roc_audio: depacketizer: initializing: n_channels=2
15:57:09.526 [dbg] roc_audio: watchdog: initializing: max_blank_duration=96000 max_drops_duration=96000 drop_detection_window=14400
15:57:09.529 [dbg] roc_audio: resampler: initializing: window_interp=128 window_size=32 frame_size=640 channels_num=2
15:57:09.529 [dbg] roc_audio: latency monitor: initializing: target_latency=8820 in_rate=44100 out_rate=48000
15:57:09.530 [dbg] roc_packet: router: detected new stream: source=1262297436 flags=0x8u
15:57:09.530 [dbg] roc_audio: depacketizer: ts=320 loss_ratio=0.00000
15:57:09.624 [dbg] roc_packet: router: detected new stream: source=0 flags=0x10u
15:57:09.645 [dbg] roc_audio: watchdog: status: bbbbbbbbbbbbbbbbbbbb
15:57:09.686 [dbg] roc_packet: delayed reader: initial queue: delay=8820 queue=8961 packets=29
15:57:09.686 [dbg] roc_fec: fec reader: update payload size: next_esi=0 cur_size=0 new_size=1248
15:57:09.687 [dbg] roc_fec: fec reader: update source block size: cur_sblen=0 cur_rblen=0 new_sblen=20
15:57:09.687 [dbg] roc_fec: fec reader: got first packet in a block, start decoding: n_packets_before=0 sbn=53602
15:57:09.688 [dbg] roc_fec: fec reader: update repair block size: cur_sblen=20 cur_rblen=0 new_rblen=235
15:57:09.688 [dbg] roc_audio: depacketizer: got first packet: zero_samples=8000
15:57:09.695 [dbg] roc_audio: latency monitor: latency=9259 target=8820 fe=1.00000 trim_fe=1.00000 adj_fe=0.91875
15:57:09.786 [dbg] roc_audio: watchdog: status: bbbbb...............
15:57:14.704 [dbg] roc_audio: latency monitor: latency=0 target=8820 fe=1.00001 trim_fe=1.00001 adj_fe=0.91876
15:57:14.724 [dbg] roc_audio: watchdog: status: ..............ibbbbb
15:57:14.865 [dbg] roc_audio: watchdog: status: bbbbbbbbbbbbbbbbbbbb
15:57:14.895 [dbg] roc_audio: latency monitor: latency out of bounds: latency=-9134 min=-8820
15:57:14.895 [inf] roc_pipeline: receiver: removing session
@gavv gavv transferred this issue from roc-streaming/roc-toolkit Dec 25, 2022
@gavv
Copy link
Member

gavv commented Dec 25, 2022

Hi, thanks for report and sorry for delay.

Most likely, this is the same problem as in #20. Please try solution from that issue.

If it wont help, please provide more info:

  • What PulseAudio version are you using?

  • What do you mean exactly by "use another audio source"? What action to you perform? What you see in pavuctonrol or what is the output of pactl list sinks short?

  • Any chance you could provide verbose logs from pulseaudio on your local computer, at the moment when session is closed? You can kill pulseaudio and run it from terminal with -vvv.

@gavv
Copy link
Member

gavv commented Dec 25, 2022

PS. I migrated this issue to roc-pulse because pulseaudio modules were moved to this repo.

@gavv gavv added defect Something isn't working user report labels Dec 25, 2022
@gavv gavv removed the user report label May 22, 2023
@gavv
Copy link
Member

gavv commented May 1, 2024

Closing as dup of #20.

@gavv gavv closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants