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

Joshua C. Colp jcolp at digium.com
Thu May 9 11:54:56 CDT 2019

On Thu, May 9, 2019, at 1:46 PM, Xiemin Chen wrote:
> A cannot see B's new video track,
> A is not trigged a renegotiation progress after B's new video track was added.

The code likely is not queueing up a AST_CONTROL_STREAM_TOPOLOGY_CHANGED frame then. That informs the bridge code the topology has changed and it needs to update everything. The bridge_softmix implementation isn't really written to handle this case though, so it still wouldn't reinvite all the other parties. Trying the AST_CONTROL_STREAM_TOPOLOGY_SOURCE_CHANGED type like you mentioned before MAY work, although it also wasn't written for this specific case.

Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-dev mailing list