Skip to content

Commit 9c654f7

Browse files
committed
Change the deprecated switch camera method
1 parent 780bbba commit 9c654f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/call_sample/signaling.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Signaling {
106106

107107
void switchCamera() {
108108
if (_localStream != null) {
109-
_localStream.getVideoTracks()[0].switchCamera();
109+
Helper.switchCamera(_localStream.getVideoTracks()[0]);
110110
}
111111
}
112112

0 commit comments

Comments
 (0)