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

Audio streaming to audio sink does not stop after ending call #4196

Closed
cajus opened this issue Dec 5, 2024 · 0 comments · Fixed by #4198
Closed

Audio streaming to audio sink does not stop after ending call #4196

cajus opened this issue Dec 5, 2024 · 0 comments · Fixed by #4198

Comments

@cajus
Copy link

cajus commented Dec 5, 2024

Describe the bug

When finishing an audio call, the previous behaviour was that pjsip printed something like

12:37:01.154 gonnect.pjsip: SIPLogWriter::write            pjsua_aud.c  Conf connect: 7 --> 2
12:37:01.561 gonnect.pjsip: SIPLogWriter::write            pjsua_aud.c  Conf connect: 7 --> 2
12:37:01.960 gonnect.pjsip: SIPLogWriter::write            pjsua_aud.c  Conf disconnect: 7 -x- 2
12:37:01.960 gonnect.pjsip: SIPLogWriter::write           conference.c  .Port 7 (tonegen) stop transmitting to port 2 (alsa_output.usb-Yealink_Yealink_WH62_808025F030010698-00.iec958-stereo)
12:37:03.020 gonnect.pjsip: SIPLogWriter::write            pjsua_aud.c  Closing sound device after idle for 1 second(s)

and closes the audio stream (tested with revision 906f816).

For 2.15, the stream does not stop, and a potentially implemented onFrameReceived keeps receiving zero byte frames forever.

Steps to reproduce

.

PJSIP version

2.15

Context

Fedora Linux 41

./configure --prefix=/usr/local --disable-video --enable-ext-sound CFLAGS="-fPIC -DPJ_HAS_IPV6=1"

Logs:
log.txt

Log, call stack, etc

File attached in "Context" section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant