Shouldn't there be a way to remove unused transceivers from sdp? #2394
Unanswered
ivanlukomskiy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm working on a server that sends video streams to clients reusing a single WebRTC connection. Streams are being added on demand and I create a new send-only transceiver for each request.
Works fine so far, but I'm facing one issue: once a transceiver is added to peer connection there's no way of removing it (at least I haven't found such method in the source code). It results in SDP growing indefinitely as new media sections are added and never removed.
Was it done intentionally and should transceivers be reused or it is something that can be improved?
I am willing to contribute and implement
removeTransceiver
if it's the right way of managing streams dynamically.Related discussion in w3c repo:
w3c/webrtc-pc#2092
Beta Was this translation helpful? Give feedback.
All reactions