#include <SendBlockStreamerGM.h>
Inheritance diagram for SendBlockStreamerGM:
Public Member Functions | |
SendBlockStreamerGM (GMUser *user, MNSelector &sel) | |
virtual | ~SendBlockStreamerGM () |
virtual void | init (int idx) |
virtual void | uninit () |
virtual u_int32 | getSsrc () |
virtual void | start () |
virtual void | set_hostnames (const MNString &client, const MNString &server) |
virtual void | set_ports (int idx, MNSocket *locDownRtp, MNSocket *locDownRtcp, int distDown, MNSocket *locUpRtp, MNSocket *locUpRtcp, int distUp) |
virtual bool | graphManNotify (int idx, SH::Base *caller, SH::Notification attribute, void *msg) |
virtual int | open_file (int idx, const char *name, int rtp_pt, SDP::PayloadTypes int_pt, u_int32 bw, SDP::RetransTypes int_rt, int packetsize) |
virtual int | play (int startp, int stopp) |
virtual int | stop () |
virtual int | pause () |
virtual int | jump (long pos) |
virtual long | getFilePos () |
void | send_forced (size_t timeout, size_t packetsize) |
void | stop_forced () |
void | recv_forced () |
virtual bool | synchronousGet (GetValue what, u_int32 &outVar) |
overloads SHGraphManager::synchronousGet | |
void | set_repeat_times (u_int32) |
|
Create a new SendBlock graph manager to send data from a file to an RTP session. The creation includes the instantiation of a sequence of MNFileSourceSH, MNRTPEncoderSH and MNRTPSinkSH. The SHs are not initialized yet.
|
|
Delete the three stream handlers that comprise this graph manager. |
|
Reimplemented from ServerGM.
|
|
|
|
Implements SHGraphManager.
|
|
Retrieve the payload type table from the GMUser object. (this approach must be revised!). Set this payload type table in the MNRTPEncoderSH using the attribute interface. Initialize all stream handlers. Implements ServerGM.
|
|
Implements ServerGM.
|
|
|
|
Implements ServerGM.
|
|
Implements ServerGM.
|
|
NOT SUPPORTED right now. For more see send_forced |
|
The forced functions were introduced into the old Streamer classes (before the GM/SH architecture). They implement a command path that is separate from the regular play/stop path. Here, the caller determines the packet sizes and the interpacket times instead of the codec. It is a function for faking and testing. It is NOT SUPPORTED right now.
|
|
Set the hostnames that this graph manager connects.
Implements ServerGM.
|
|
Implements ServerGM.
|
|
Allows the GMUser to define the maximum number of times that an LC-RTP sender can try to complete the loss list before giving up. Currently a dummy. |
|
If the graph manager is in state stopped, start all stream handlers. If it is in state paused, only the encoder stream handler has been paused before and must be restarted now. Implements ServerGM.
|
|
Implements ServerGM.
|
|
NOT SUPPORTED right now. For more see send_forced |
|
overloads SHGraphManager::synchronousGet
Reimplemented from SHGraphManager.
|
|
Uninitialize all stream handlers. Implements ServerGM.
|