I’ve been working on implementing ICE restart and have run into a question on 
how to handle the NrIceMediaStream (and NrIceCtx) embedded in each 
TransportFlow.  Currently the TransportFlows are built in 
MediaPipelineFactory::CreateOrGetTransportFlow and then associated with a 
NrIceMediaStream in MediaPipelineFactory::FinalizeTransportFlow_s.

Since this is wandering into the media handling side of things, I figured it 
was time to ask for additional guidance.

What is not clear to me is whether these existing TransportFlows can (or even 
should) be reused by switching out the NrIceMediaStream held in 
TransportLayerIce after the ice restart.  Nils mentioned that building all new 
TransportFlows may also have DTLS considerations.  Another possibility would be 
building new TransportFlows that use the new NrIceCtx and NrIceMediaStreams 
while leaving the original TransportFlows until the restart is considered 
successful and then tear down those flows along with the original NrIceCtx, etc.

Thanks any thoughts you have,
Michael.

_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to