Skip to content

Commit ce58c9d

Browse files
authored
Merge pull request #122 from Ham3D/master
Change the deprecated switch camera method
2 parents 780bbba + 9c654f7 commit ce58c9d

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)