Question about when subscribing to a directly published stream
Hi,
In the article there : http://www.adobe.com/devnet/flashmediaserver/articles/real-time-collaboration.html#articlecontentAdobe_numberedheader_1
We can see this under 'User lookup'
RTMFP assigns a peer ID to each participant. These peer IDs are 256 bits long and are non-forgeable. When you want to subscribe to a directly published stream, you must specify the publisher's peer ID:
var receiveStream:NetStream = new NetStream(netConnection, id_of_publishing_client); receiveStream.play("media");var ns:NetStream = new NetStream(netConnection, netConnection.farID);
ns.play(...);
under the covers, this will open a new RTMFP flow to the server that will appear to the server as a new incoming client, but the initial handshake will be incorrect (the first/only command message is "play" instead of "connect"). i see this on Cirrus all the time.
Is it an error in the article or is it right considering the scenario?
Thanks
