File tree 2 files changed +3
-1
lines changed 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ example/android/gradle*
13
13
WorkspaceSettings.xcsettings
14
14
example /.flutter-plugins
15
15
example /android /local.properties
16
+ .dart_tool /package_config.json
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class RTCVideoRenderer {
81
81
ui.platformViewRegistry.registerViewFactory (stream.id, (int viewId) {
82
82
final x = HTML .VideoElement ();
83
83
x.autoplay = true ;
84
- x.muted = false ;
84
+ x.muted = _srcObject.ownerTag == 'local' ;
85
85
x.srcObject = stream.jsStream;
86
86
x.id = stream.id;
87
87
_htmlVideoElement = x;
@@ -149,6 +149,7 @@ class RTCVideoRenderer {
149
149
150
150
Future <Null > dispose () async {
151
151
//TODO?
152
+ //https://stackoverflow.com/questions/3258587/how-to-properly-unload-destroy-a-video-element/28060352
152
153
}
153
154
}
154
155
You can’t perform that action at this time.
0 commit comments