Skip to content

Commit

Permalink
onAddRemoteStream の条件分岐の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Jan 28, 2025
1 parent 2c67fd6 commit 24125a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ class SoraMediaChannel @JvmOverloads constructor(

override fun onAddRemoteStream(ms: MediaStream) {
SoraLogger.d(TAG, "[channel:$role] @peer:onAddRemoteStream msid=:${ms.id}, connectionId=$connectionId")
if (mediaOption.multistreamEnabled == true && connectionId != null && ms.id == connectionId) {
if (mediaOption.multistreamEnabled != false && connectionId != null && ms.id == connectionId) {
SoraLogger.d(TAG, "[channel:$role] this stream is mine, ignore: ${ms.id}")
return
}
Expand Down

0 comments on commit 24125a6

Please sign in to comment.