In iOS also same issue, while republishing taking more than 5 seconds to represent at remote side. And the remote side stream is struct with the previous stream last frame, and user feel like issue with call. How can we do it in milli seconds as user don't not recognize.
We are getting 3 to 8 seconds of Delay time , while republishing we are stopping the previous publication then creating the new stream and publishing that stream.
Did you use the default sample app in released package? We cannot reproduce this issue here. The delay only happened after republishing? Could you check your network and server resource usage?