Skip to content

Commit 8df50b8

Browse files
authored
Merge pull request #189 from junhuhdev/patch-1
Fix remote peer video is blank
2 parents 6e19eac + 14e8b58 commit 8df50b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/call_sample/call_sample.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,12 @@ class _CallSampleState extends State<CallSample> {
116116

117117
_signaling?.onLocalStream = ((stream) {
118118
_localRenderer.srcObject = stream;
119+
setState(() {});
119120
});
120121

121122
_signaling?.onAddRemoteStream = ((_, stream) {
122123
_remoteRenderer.srcObject = stream;
124+
setState(() {});
123125
});
124126

125127
_signaling?.onRemoveRemoteStream = ((_, stream) {

0 commit comments

Comments
 (0)