broadcastID is the streamname. You need to connect to the correct RTMP url of the room to connect to the stream. The pattern is: rtmp://host:port/openmeetings/$ROOM_ID For example if the conference is in room_id is 2 on localhost with default port then: rtmp://localhost:1935/openmeetings/2 ... NetStream.play(user.broadCastID);
If that does not work I guess the error is somewhere else in your ActionScript code. Sebastian 2013/3/30 Fasil Mohammed <[email protected]> > 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 > -- Sebastian Wagner https://twitter.com/#!/dead_lock http://www.webbase-design.de http://www.wagner-sebastian.com [email protected]
