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
2021-02-02 19:38:15 +01:00
parent 368da133fd
commit 263258a0c1
3 changed files with 148 additions and 150 deletions
-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.