Implement renegotiation of down streams.

We used to destroy and recreate down streams whenever something changed,
which turned out to be racy.  We now properly implement renegotiation,
as well as atomic replacement of a stream by another one.
This commit is contained in:
Juliusz Chroboczek committed 2021-02-03 19:15:40 +01:00
1 parent 368da133fd
commit 263258a0c1
3 files changed
+148 -150

No files matched your search

-1
View File
@@ -17,7 +17,6 @@ type Up interface {
DelLocal(Down) bool
Id() string
User() (string, string)
Codecs() []webrtc.RTPCodecCapability
}
// Type UpTrack represents a track in the client to server direction.