8000 Fixed compile error for android. · lineCode/flutter-webrtc@a219c4d · GitHub
[go: up one dir, main page]

Skip to content

Commit a219c4d

Browse files
committed
Fixed compile error for android.
1 parent f619fdf commit a219c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/cloudwebrtc/webrtc/FlutterRTCVideoRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public void setStream(MediaStream mediaStream) {
164164
ConstraintsMap params = new ConstraintsMap();
165165
params.putString("event", "videoState");
166166
params.putInt("id", id);
167-
params.putInt("enabled", enabled);
167+
params.putBoolean("enabled", enabled);
168168
eventSink.success(params.toMap());
169169
}
170170

0 commit comments

Comments
 (0)
0