- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
public function receive(streamName:String):void
{
stopReceive()
if(!netConnection.connected)
{
receiveStreamName = streamName;
LogAppender.getInstance().appendLog(LogType.STREAM_LOG,"FMSStream.receive?not connected, set streamName: " + receiveStreamName);
return;
}
nsReceive = new NetStream(netConnection);
nsReceive.addEventListener(NetStatusEvent.NET_STATUS, handleReceiveNetStreamStatus);
nsReceive.play(streamName, -2, -1, true);
dispatchEvent(new VRDataEvent(VRDataEvent.OPPONENT_STREAM_UPDATED));
// default audio sound
var st:SoundTransform = nsReceive.soundTransform;
st.volume = 0.7;
nsReceive.soundTransform = st;
examineCallTimer.start();
LogAppender.getInstance().appendLog(LogType.STREAM_LOG,"FMSStream.receive?play=" + streamName);
}
Skelet0n 27.02.2011 12:18 # 0
Lure Of Chaos 01.03.2011 23:21 # 0
oltarasenko 02.03.2011 18:49 # 0
wvxvw 02.03.2011 20:24 # 0
oltarasenko 03.03.2011 09:26 # 0