[asterisk-dev] WebRTC SFU: support add video track dynamically

Xiemin Chen chenxiemin at gmail.com
Tue May 7 22:07:30 CDT 2019

Hi there,


In a WebRTC conference, participant A & B join with only one video track,
then B add another video track with the SDP renegotiate, A cannot see B's
two video tracks.

*Root Cause*

After work through the source code, the problem may caused by
the sdp_requires_deferral() in res_pjsip_session.c:
It does not take of the situation of the new creation of the video track.


Can I use the handle_incoming_sdp() to replace the sdp_requires_deferal() ?
handle_incoming_sdp() function is called during the init of the session, it
does the track initial progress.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20190508/6ba015ba/attachment.html>

More information about the asterisk-dev mailing list