Browse Source

immediate mute

master
jfinn 4 years ago
parent
commit
967b61b7a6
5 changed files with 17 additions and 6 deletions
  1. 1
    2
      rf/keyboard_dev_fn.js
  2. 1
    1
      rf/m/m_req.js
  3. 1
    0
      rf/m2/m2.css
  4. 1
    1
      rf/m2/m2.js
  5. 13
    2
      rf/ytsv/y.js

+ 1
- 2
rf/keyboard_dev_fn.js View File

@@ -96,8 +96,7 @@ glob_dev_fns.conference__onShowToolbar = function(o){
96 96
 	if (innerHeight - event.clientY < 150){
97 97
 		that._onShowToolbar()
98 98
 	} else if (iammod && event.clientY < 150){
99
-		that._onShowToolbar()
100
-
99
+		// that._onShowToolbar()
101 100
 	}
102 101
 	// clog("ON mm2",that,event)
103 102
 	// clog("ON mm3",xy)

+ 1
- 1
rf/m/m_req.js View File

@@ -235,7 +235,7 @@ function dev_middleware_listner(o) {
235 235
 	//			/*
236 236
 	if (o.action.type != "ENDPOINT_MESSAGE_RECEIVED"){
237 237
 		// CONFERENCE_JOINED
238
-		qxi2(o)
238
+		// qxi2(o)
239 239
 		qxi_event(o)
240 240
 		// if (o.action.type.startsWith("SET_TOOLBOX_" || o.action.type == "TOGGLE_TOOLBOX_VISIBLE")){
241 241
 			// SET_TOOLBOX_info(o,this)

+ 1
- 0
rf/m2/m2.css View File

@@ -435,6 +435,7 @@ body #react > div {
435 435
 	background-color: #ff4;
436 436
 }
437 437
 
438
+
438 439
 /*lv_info*/
439 440
 /*allow_autoplay*/
440 441
 /*force_enable*/

+ 1
- 1
rf/m2/m2.js View File

@@ -76,7 +76,7 @@ function refresh_toolbar_config(){
76 76
 
77 77
 	} else {
78 78
 		arr_rmv(interfaceConfig.TOOLBAR_BUTTONS,"desktop")
79
-		arr_rmv(interfaceConfig.TOOLBAR_BUTTONS,"sharedvideo")
79
+		// arr_rmv(interfaceConfig.TOOLBAR_BUTTONS,"sharedvideo")
80 80
 		
81 81
 		// arr_rmv(interfaceConfig.TOOLBAR_BUTTONS,"")
82 82
 	}

+ 13
- 2
rf/ytsv/y.js View File

@@ -230,10 +230,21 @@ function yt_join(o){
230 230
 
231 231
 }
232 232
 
233
+function mute_audio_helper(){
234
+	try {
235
+	// setAudioMuted
236
+	disp(glob_react.media.setAudioMuted(1))
237
+
238
+	} catch (err) {
239
+
240
+	}
241
+}
242
+
243
+
233 244
 
234
-glob_mx.qxi_cb.PARTICIPANT_LEFT.yt_left = yt_left
245
+// glob_mx.qxi_cb.PARTICIPANT_LEFT.yt_left = yt_left
235 246
 
236
-glob_mx.qxi_cb.PARTICIPANT_JOINED.yt_join = yt_join
247
+// glob_mx.qxi_cb.PARTICIPANT_JOINED.yt_join = yt_join
237 248
 
238 249
 
239 250
 mvyt_helper()

Loading…
Cancel
Save