You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have following test setup:
Microsip <-> Asterisk Server <-> Baresip
At the microsip only the codec G711A is activated, at baresip the codecs G711A, G711U, G722, G729, opus are activated.
If i establish a call from Microsip to Baresip the call is initiated correctly, but directly after the call is established i see the log output: Audio decoder changed payload 8 -> 9
This is because baresip expects the incomming payload to be of type G711A, but it is G722. Therefore the stream_pt_handler is called and the audio player is terminated, the paramters are updated and the audio player is started again with the correct paramters. This playback seems to work, but i do not get any outgoing rtp stream from baresip (verified with wireshark). Although according to the logs my source module is active. Therefore i have some questions:
In the stream_pt_handler only the audio decoder is updated, does this mean, the encoder stays at the previous codec?
Does this change of payload influence the source pipeline?
Would it make sense to also update the audio encoder in the stream_pt_handler
I have already tried the fix introduced from this discussion, which did not work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i have following test setup:
Microsip <-> Asterisk Server <-> Baresip
At the microsip only the codec G711A is activated, at baresip the codecs G711A, G711U, G722, G729, opus are activated.
If i establish a call from Microsip to Baresip the call is initiated correctly, but directly after the call is established i see the log output:
Audio decoder changed payload 8 -> 9This is because baresip expects the incomming payload to be of type G711A, but it is G722. Therefore the
stream_pt_handleris called and the audio player is terminated, the paramters are updated and the audio player is started again with the correct paramters. This playback seems to work, but i do not get any outgoing rtp stream from baresip (verified with wireshark). Although according to the logs my source module is active. Therefore i have some questions:stream_pt_handleronly the audio decoder is updated, does this mean, the encoder stays at the previous codec?stream_pt_handlerI have already tried the fix introduced from this discussion, which did not work.
Thanks in advance.
Simon
Beta Was this translation helpful? Give feedback.
All reactions