Service thread for real-time streaming input. More...
#include <thread.h>
Inherits: RTSThread
The service thread used to send real-time packets. This virtual service thread provides the core functionality for streaming of outbound media packets. In fact, streaming includes abstract I/O services that are implemented on a per protocol bases which allows RTSSendThread to drive IPX "RTP" sockets or even VAT sessions.
Construct realtime service thread for sending packets. We normally use 20ms timing frames.
pri | level of this thread relative to parent. |
start | semaphore to use for synchronized startup. |
Terminate the sending thread service after timing out until the current frame has a chance to be sent.
This may be used to specify a new session id number to use.
session | id. |
Initial thread service. This is used to support multiple inheretance of sending and receiving threads in a single object.
Exit thread service for self destructing objects. This is used to support multiple inheretance of sending and receiving threads in a single object.
The default run method of a sending service thread. This is used to support multipe inheretance of sending and receiving threads in a single object.
Send realtime data from the service thread into the derived socket layer protocol.
buf | pointer to rtpdata buffer. |
len | of bytes to write. |
Fetch a sample of data in the current sampling format for the time interval specified.
timer | for data frame to read. |
buf | pointer to rtpdata buffer. |
Update the time stamp for the next sent packet in the derived protocol for the service thread.
Error handler for derived class.
| Kdoc |