It is used to define channel through which the streaming video, audio and data can flow over NetConnection that connect the client to server
A NetConnection can support multiple NetStream for multiple data stream.
The client tell the server to play a stream. Call play more than once with reset=false, it create a playlist. To play a stream immediately, send a play command with reset=true.
Command structure from client to server
Unlike play command, it should be used to switch stream bit rate without changing the timeline of the content played.
It is sent when NetStream is being destory
It is sent to tell server whether to send audio message to client
It is sent to tell server whether to send video message to client
Command structure for receiveVideo. Server will not send any response
It is used to publish a named stream to server. Any other client can play this stream with the published name
Command structure for publish command. The server response with onStatus command to mark beginning of publishing
Command structure for seek command. The server send a status message NetStream.Seek.Notify when seek is successful. In failure, server sends _error message
It is used to tell server to pause or start a stream
Command structure for pause command. The server send a status message NetStream.Pause.Notify when stream is paused. The server send a status message NetStream.Unpause.Notify when stream is unpaused. In failure, server sends _error message
Reference: Adobe Official RTMP Specification