Hi,

I am trying to connect to a video stream playing in a particular room
In the client method
newStream I get access to the users broadcastID and streamid

Can someone please help me with creating the NetStream object to play that
stream? I know the room id, broadcastId, publicSID and streamid.


 I tried this
_stream = new NetStream(RoomService.getInstance().Connection);
//NetConnecton object which is connected to the room url

_stream.client={onMetaData:function(obj:Object):void{
 ObjectUtil.toString(obj);
} };
_stream.addEventListener(NetStatusEvent.NET_STATUS,
netSubscribeStatus_handler);
 _stream.play(user.broadcastID); // I tried here both streamid, broadcastid


Thanks and regards.

Fasil.ak

Reply via email to