Answered
Pausing a NetStream while publishing to allow buffer to empty
I am having trouble with dialup users who are publishing
webcam video using NetStream.publish(streamname, "record"). The
video doesn't completely upload because there's a backlog of data
in the buffer that gets tossed when they hit the Stop button in my
app and the stream gets closed.
I figured a workaround would be to pause the uploading stream and wait for the bufferLength to reach zero before closing the stream, but I can't figure out how to pause a publishing stream. NetStream.pause() doesn't seem to work.
I'd appreciate any help. Thanks.
I figured a workaround would be to pause the uploading stream and wait for the bufferLength to reach zero before closing the stream, but I can't figure out how to pause a publishing stream. NetStream.pause() doesn't seem to work.
I'd appreciate any help. Thanks.
