#include <NopStreamer.h>
Inheritance diagram for NopStreamer:
Public Member Functions | |
NopStreamer (MNSelector &sel, DataPumpResponse *resp, SDPSessionDescription *sdesc) | |
this is needed when no SDP-description is stored in the proxy! | |
virtual | ~NopStreamer () |
virtual int | init (KomServer *streamer, StreamingType type) |
virtual bool | createUpstreamSocks (int idx, int &requested, RTPSockets::FactoryMode mode, RTSP::TransportTypes requested_transport=RTSP::RTP_AVP_UDP) |
virtual bool | createDownstreamSocks (int idx, int &requested, RTPSockets::FactoryMode mode, RTSP::TransportTypes requested_transport=RTSP::RTP_AVP_UDP) |
virtual MNSocket * | getLocalDownRtp (int idx) const |
virtual MNSocket * | getLocalDownRtcp (int idx) const |
see getLocalDownRtp | |
virtual MNSocket * | getLocalUpRtp (int idx) const |
see getLocalDownRtp | |
virtual MNSocket * | getLocalUpRtcp (int idx) const |
see getLocalDownRtp | |
virtual int | getDistantPortDownstream (int idx) const |
virtual int | getDistantPortUpstream (int idx) const |
getDistantPortDownstream | |
virtual int | getLocalPortDownstream (int idx) const |
virtual int | getLocalPortUpstream (int idx) const |
getLocalPortDownstream | |
virtual bool | fillTransportString (int idx, MNString &out, bool mc) const |
virtual int | stream_start (int idx, const MNString &filename, const MNString &DescFileName, const MNString &client, const MNString &server, int ClientPortAnnounced, int ServerPortAnnounced) |
virtual int | play (int start, int stop) |
virtual int | stop () |
virtual int | pause () |
virtual int | jump (int cont_time) |
virtual void | fileComplete (const char *filename, bool comp) |
virtual long | getFilePos () |
virtual void | set_client_port (int) |
virtual void | setMulticastInformation (MNString server, MNSocket *main_rtp, MNSocket *main_rtcp) |
virtual void | setBufferInformation (int threshold, int size) |
virtual bool | isPatchingCapable () const |
|
this is needed when no SDP-description is stored in the proxy!
|
|
|
|
Called when the server wants to create downstream dummy sockets in this data pump. Set a boolean variable to indicate that this has happened. Implements dataPump.
|
|
Called when the server wants to created upstream dummy sockets in this data pump. Set a boolean variable to indicate that this has happened. Implements dataPump.
|
|
Reimplemented from dataPump.
|
|
When the proxy must formulate a SETUP response for the client, the Transport line must be created. Since the transport protocol is only known to the specific data pump, the data pump is the entity that should write this string.
Implements dataPump.
|
|
Get the remote port of the downstream RTP "connection". A dummy in this case. Reimplemented from dataPump.
|
|
getDistantPortDownstream
Reimplemented from dataPump.
|
|
If the dataPump is streaming, this method returns the current time position in the source file. Else it returns -1!! Reimplemented from dataPump.
|
|
see getLocalDownRtp
Reimplemented from dataPump.
|
|
Return an invalid dummy pointer when the server has tried to create downstream sockets, or NULL if that was not the case. Reimplemented from dataPump.
|
|
Get the local port of the downstream RTP "connection". A dummy in this case. Reimplemented from dataPump.
|
|
getLocalPortDownstream
Reimplemented from dataPump.
|
|
see getLocalDownRtp
Reimplemented from dataPump.
|
|
see getLocalDownRtp
Reimplemented from dataPump.
|
|
Implements dataPump.
|
|
If a data pump is capable of patching support, it must overload the functions setMulticastInformation and setBufferInformation that exist only as dummy implementations in this base class. The default is that a data pump is not capable of patching. Reimplemented from dataPump.
|
|
Reimplemented from dataPump.
|
|
Reimplemented from dataPump.
|
|
Implements dataPump.
|
|
|
|
A dummy provided for non-patching-capable data pumps and overloaded by patching-capable data pumps. Reimplemented from dataPump.
|
|
A dummy provided for non-patching-capable data pumps and overloaded by patching-capable data pumps. Reimplemented from dataPump.
|
|
Implements dataPump.
|
|
Implements dataPump.
|