/*******************************************************************************
 * Les traitements JavaScript <==> FLEX
 * 
 * 
 * 
 *******************************************************************************/
 

/*******************************************************************************
 * pixarusLiveCasting.mxml
 *******************************************************************************/
function onStartStatusPixarus(mode,access) {
//Cas Network
if (mode =='network') {
	//Cas Recorder
	if(access=='recorder'){
		onStartStatus('idNetworkVideoRecordingLeft',22,22);		
	}
	//Cas liveCasting
	else {
		onStartStatus('idNetworkVideoRecordingRight',22,22);
	}
  }	
  //Cas room
  else {
	//Cas Recorder
	if(access=='recorder'){
		onStartStatus('idRoomVideoRecordingLeft',22,22);
	}
	//Cas liveCasting
	else {
		onStartStatus('idRoomVideoRecordingRight',22,22);
	}  	
  }
}


/*******************************************************************************
 * pixarusLiveCasting.mxml
 *******************************************************************************/
function onStopStatusPixarus(mode,access) {
//Cas Network
if (mode =='network') {
	//Cas Recorder
	if(access=='recorder'){
		onStopStatus('idNetworkVideoRecordingLeft',22,22);		
	}
	//Cas liveCasting
	else {
		onStopStatus('idNetworkVideoRecordingRight',22,22);
	}
  }	
  //Cas room
  else {
	//Cas Recorder
	if(access=='recorder'){
		onStopStatus('idRoomVideoRecordingLeft',22,22);
	}
	//Cas liveCasting
	else {
		onStopStatus('idRoomVideoRecordingRight',22,22);
	}  	
  }
    
}


/*******************************************************************************
 * pixarusLiveCasting.mxml
 *******************************************************************************/
function networkVideoRecordedEnd() {
    
}


/*******************************************************************************
 * pixarusLiveCasting.mxml
 *******************************************************************************/
function roomVideoRecordedEnd() {
    
}

