8000 FIX - #295 · obshksw/flutter-webrtc@ce0c362 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce0c362

Browse files
committed
ADD - Comment for discussion
1 parent bb2bae5 commit ce0c362

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ example/android/gradle*
1313
WorkspaceSettings.xcsettings
1414
example/.flutter-plugins
1515
example/android/local.properties
16+
.dart_tool/package_config.json

lib/web/rtc_video_view.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class RTCVideoRenderer {
8181
ui.platformViewRegistry.registerViewFactory(stream.id, (int viewId) {
8282
final x = HTML.VideoElement();
8383
x.autoplay = true;
84-
x.muted = false;
84+
x.muted = true;
8585
x.srcObject = stream.jsStream;
8686
x.id = stream.id;
8787
_htmlVideoElement = x;
@@ -149,6 +149,7 @@ class RTCVideoRenderer {
149149

150150
Future<Null> dispose() async {
151151
//TODO?
152+
//https://stackoverflow.com/questions/3258587/how-to-properly-unload-destroy-a-video-element/28060352
152153
}
153154
}
154155

0 commit comments

Comments
 (0)
0