GetLabel('_EVE_LIVE_TAB_')}',
+ labelWidth: 250,
+ labelAlign: 'right',
+ items:[{
+ xtype: 'spacer',
+ height: 10
+ },{
+ xtype: 'combo',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_MODE_')}',
+ id: 'LV_MODE',
+ width: 260,
+ typeAhead: false,
+ editable: false,
+ forceSelection: true,
+ triggerAction: 'all',
+ lazyRender:true,
+ mode: 'local',
+ store: {
+ xtype: 'arraystore',
+ fields: [ 'lmId', 'lmText' ],
+ data: [
+ [0, '{$Labels->GetLabel('_EVE_LIVE_OFF_')}'],
+ [1, '{$Labels->GetLabel('_EVE_LIVE_PASS_')}'],
+ [2, '{$Labels->GetLabel('_EVE_LIVE_ENC_')}']
+ ]
+ },
+ valueField: 'lmId',
+ displayField: 'lmText',
+ value: {$LV_MODE},
+ listeners:{
+ select: function( t, r, i ){
+ doModuleOperation( {$EID}, 20, r.data.lmId, false );
+ Ext.getCmp('LV_BITRATE').setDisabled( r.data.lmId != 2 );
+ Ext.getCmp('LV_FPS').setDisabled( r.data.lmId != 2 );
+ }
+ }
+ },{
+ xtype: 'numberfield',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_PORT_')}',
+ id: 'LV_PORT',
+ width: 120,
+ allowDecimals: false,
+ minValue: 1,
+ maxValue: 65535,
+ value: {$LV_PORT},
+ listeners:{
+ change: function( t, n, o ){
+ doModuleOperation( {$EID}, 21, n, false );
+ }
+ }
+ },{
+ xtype: 'numberfield',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_BITRATE_')}',
+ id: 'LV_BITRATE',
+ width: 120,
+ allowDecimals: false,
+ minValue: 100,
+ maxValue: 20000,
+ disabled: {$LV_ENC_DIS},
+ value: {$LV_BR},
+ listeners:{
+ change: function( t, n, o ){
+ doModuleOperation( {$EID}, 24, n, false );
+ }
+ }
+ },{
+ xtype: 'numberfield',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_FPS_')}',
+ id: 'LV_FPS',
+ width: 120,
+ allowDecimals: false,
+ minValue: 1,
+ maxValue: 60,
+ disabled: {$LV_ENC_DIS},
+ value: {$LV_FPS},
+ listeners:{
+ change: function( t, n, o ){
+ doModuleOperation( {$EID}, 25, n, false );
+ }
+ }
+ },{
+ xtype: 'textfield',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_ICE_')}',
+ id: 'LV_ICE',
+ width: 400,
+ emptyText: 'stun:stun.l.google.com:19302',
+ value: {$LV_ICE},
+ listeners:{
+ change: function( t, n, o ){
+ doModuleOperation( {$EID}, 26, n, false );
+ }
+ }
+ },{
+ xtype: 'spacer',
+ height: 10
+ },{
+ xtype: 'checkbox',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_RECORD_')}',
+ id: 'LV_RECORD',
+ checked: {$LV_REC},
+ handler: function( c, v ){
+ doModuleOperation( {$EID}, 22, v ? 1 : 0, false );
+ Ext.getCmp('LV_SEGMENT').setDisabled( !v );
+ }
+ },{
+ xtype: 'numberfield',
+ fieldLabel: '{$Labels->GetLabel('_EVE_LIVE_SEGMENT_')}',
+ id: 'LV_SEGMENT',
+ width: 120,
+ allowDecimals: false,
+ minValue: 10,
+ maxValue: 3600,
+ disabled: {$LV_SEG_DIS},
+ value: {$LV_SEG},
+ listeners:{
+ change: function( t, n, o ){
+ doModuleOperation( {$EID}, 23, n, false );
+ }
+ }
+ },{
+ xtype: 'spacer',
+ height: 10
+ },{
+ xtype: 'panel',
+ border: false,
+ bodyStyle: 'padding: 0 10px',
+ html: '{$Labels->GetLabel('_EVE_LIVE_HINT_')}
'
+ }]
},{
xtype: 'form',
title: 'Time Stamp',