8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d13b2 commit e934818Copy full SHA for e934818
android/src/main/java/com/cloudwebrtc/webrtc/FlutterRTCVideoRenderer.java
@@ -3,6 +3,7 @@
3
import android.util.Log;
4
import android.graphics.SurfaceTexture;
5
6
+import com.cloudwebrtc.webrtc.utils.AnyThreadSink;
7
import com.cloudwebrtc.webrtc.utils.ConstraintsMap;
8
import com.cloudwebrtc.webrtc.utils.EglUtils;
9
@@ -111,7 +112,7 @@ public void setId(int id){
111
112
113
@Override
114
public void onListen(Object o, EventChannel.EventSink sink) {
- eventSink = sink;
115
+ eventSink = new AnyThreadSink(sink);
116
}
117
118
0 commit comments