--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CAAEyqM4JMaxo8AQioO45yZDrzY75iu%2BR9%2BBzUc0ohyucbEpV0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CAGFX3sHsC9DutXHYAWxopu1kdms8p58my8eFTNyMJskuDnwRjA%40mail.gmail.com.
You could try this.
Don't manage sequence. Leave the original values.
When you stop sending A to B, send a new sdp B, removing A SSRC.
When you want to restart sending A to B, send a new sdp to B, containing a NEW DIFFERENT SSRC for A. B should start decrypting A srtp immediately.
Using this solution you have to rewrite ssrcs for rtp tracks, but not sequences.
I think that rewrite sequences could have difficulties in case of packet loss and retransmission
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CAAEyqM4Xu6s6MfK2kwtMXvQjjEpK22Kcp%2Bm6PSii5Jc9A0fnOg%40mail.gmail.com.