Datatrack for data channel (#476)

* data track
This commit is contained in:
cnderrauber
2022-03-01 15:48:20 +08:00
committed by GitHub
parent 13e21e7c45
commit 913ef3a646
11 changed files with 738 additions and 88 deletions
+2 -2
View File
@@ -140,10 +140,10 @@ func TestMultiNodeMutePublishedTrack(t *testing.T) {
Identity: identity,
})
require.NoError(t, err)
if len(res.Tracks) == 2 {
if len(res.Tracks) == 3 {
return ""
} else {
return fmt.Sprintf("expected two tracks to be published, actual: %d", len(res.Tracks))
return fmt.Sprintf("expected three tracks to be published, actual: %d", len(res.Tracks))
}
})
+1 -1
View File
@@ -420,7 +420,7 @@ func TestSingleNodeUpdateSubscriptionPermissions(t *testing.T) {
if pubRemote == nil {
return "could not find remote publisher"
}
if len(pubRemote.Tracks) != 2 {
if len(pubRemote.Tracks) != 3 {
return "did not receive metadata for published tracks"
}
return ""