File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -439,12 +439,10 @@ class Room extends DisposableChangeNotifier with EventsEmittable<RoomEvent> {
439
439
var streamId = idParts[1 ];
440
440
var trackSid = event.track.id;
441
441
442
- if (kIsWeb && lkBrowser () == BrowserType .firefox) {
443
- // firefox will get streamId (pID|trackId) instead of (pID|streamId) as it doesn't support sync tracks by stream
444
- // and generates its own track id instead of infer from sdp track id.
445
- if (streamId.isNotEmpty && streamId.startsWith ('TR' )) {
446
- trackSid = streamId;
447
- }
442
+ // firefox will get streamId (pID|trackId) instead of (pID|streamId) as it doesn't support sync tracks by stream
443
+ // and generates its own track id instead of infer from sdp track id.
444
+ if (streamId.isNotEmpty && streamId.startsWith ('TR' )) {
445
+ trackSid = streamId;
448
446
}
449
447
450
448
final participant = _getRemoteParticipantBySid (participantSid);
You can’t perform that action at this time.
0 commit comments