Archive for March, 2009

NetStream and NetStream.publish

I have experienced a problem where I have connected the FMS server and then tried to publish Camera using NetStream.publish method. Everything was okay in terms of coding but the problem was that I could not receive the stream on another side (receiver side). Also the status of NetStream inside the FMS console was “Viewing” for publisher instead of “Publishing”. I was wondering why it is happenning.

After long debugging I could realize that the problem was at publisher where the NetStream object was not persistent in the class, it was created in a function. So it is required that the NetStream object must be persistent in order to publish the stream and continue to stream.

Comments