10000 Return groupId #1145 (#1146) · withub-com/flutter-webrtc@7714a55 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7714a55

Browse files
authored
1 parent fe5cee1 commit 7714a55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/darwin/Classes/FlutterRTCMediaStream.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ -(void)getSources:(FlutterResult)result{
513513
@"facing": @"",
514514
@"deviceId": port.UID,
515515
@"label": port.portName,
516+
@"groupId": port.portType,
516517
@"kind": @"audioinput",
517518
}];
518519
}
@@ -523,13 +524,15 @@ -(void)getSources:(FlutterResult)result{
523524
@"facing": @"",
524525
@"deviceId": @"Speaker",
525526
@"label": @"Speaker",
527+
@"groupId": @"Speaker",
526528
@"kind": @"audiooutput",
527529
}];
528530
}
529531
[sources addObject:@{
530532
@"facing": @"",
531533
@"deviceId": port.UID,
532534
@"label": port.portName,
535+
@"groupId": port.portType,
533536
@"kind": @"audiooutput",
534537
}];
535538
}

0 commit comments

Comments
 (0)
0