This repository was archived by the owner on Oct 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
source/management_console/public/js Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ Data Model:<br>
130
130
mediaOut: object(MediaOut), // the output media constraints
131
131
transcoding: object(Transcoding), // the transcoding control
132
132
notifying: object(Notifying), // notification control
133
+ selectActiveAudio: boolean, // select 3 most active audio streams for the room
133
134
sip: object(Sip) // SIP configuration
134
135
}
135
136
Original file line number Diff line number Diff line change @@ -988,6 +988,35 @@ class RoomModal extends React.Component {
988
988
) ;
989
989
}
990
990
991
+ renderActiveAudioSelecting ( ) {
992
+ return e (
993
+ 'div' ,
994
+ { className : 'panel panel-default' } ,
995
+ e ( 'div' , { className : 'panel-heading' } , 'Forwarding' ) ,
996
+ e (
997
+ 'div' ,
998
+ { className : 'panel-body' } ,
999
+ e (
1000
+ 'label' ,
1001
+ { className : 'checkbox-inline' } ,
1002
+ e (
1003
+ 'input' ,
1004
+ {
1005
+ type : 'checkbox' ,
1006
+ onChange : ( e ) => {
1007
+ let newRoom = _ . cloneDeep ( this . state . room ) ;
1008
+ newRoom . selectActiveAudio = e . target . checked ;
1009
+ this . setState ( { room : newRoom } ) ;
1010
+ } ,
1011
+ checked : this . state . room . selectActiveAudio
1012
+ }
1013
+ ) ,
1014
+ 'selectActiveAudio' ,
1015
+ ) ,
1016
+ ) ,
1017
+ ) ;
1018
+ }
1019
+
991
1020
render ( ) {
992
1021
return e (
993
1022
'div' ,
@@ -1021,6 +1050,7 @@ class RoomModal extends React.Component {
1021
1050
this . renderSip ( ) ,
1022
1051
this . renderTranscoding ( ) ,
1023
1052
this . renderNotifying ( ) ,
1053
+ this . renderActiveAudioSelecting ( ) ,
1024
1054
e (
1025
1055
RoomView ,
1026
1056
{
You can’t perform that action at this time.
0 commit comments