ID -> SID

This commit is contained in:
David Zhao
2020-12-04 23:04:24 -08:00
parent 64b427a388
commit c401a6fdab
7 changed files with 72 additions and 69 deletions
+2
View File
@@ -112,6 +112,8 @@ func (r *Receiver) rtpWorker() {
for {
pkt, err := r.track.ReadRTP()
if err == io.EOF {
// this indicates the track is done on the server side
// we should remove the track
r.Close()
return
}