don't send datatrack info to client (#492)

* don't send datatrack info to client
This commit is contained in:
cnderrauber
2022-03-08 17:05:26 +08:00
committed by GitHub
parent d57f76fbef
commit 128199e634
11 changed files with 47 additions and 28 deletions
+2 -2
View File
@@ -140,10 +140,10 @@ func TestMultiNodeMutePublishedTrack(t *testing.T) {
Identity: identity,
})
require.NoError(t, err)
if len(res.Tracks) == 3 {
if len(res.Tracks) == 2 {
return ""
} else {
return fmt.Sprintf("expected three tracks to be published, actual: %d", len(res.Tracks))
return fmt.Sprintf("expected 2 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) != 3 {
if len(pubRemote.Tracks) != 2 {
return "did not receive metadata for published tracks"
}
return ""