24#ifndef _SERVER_MEDIA_SESSION_HH
25#define _SERVER_MEDIA_SESSION_HH
37 char const* info =
NULL,
38 char const* description =
NULL,
40 char const* miscSDPLines =
NULL);
43 char const* mediumName,
81 char const* info,
char const* description,
82 Boolean isSSM,
char const* miscSDPLines);
127 virtual char const*
sdpLines(
int addressFamily) = 0;
129 struct sockaddr_storage
const& clientAddress,
130 Port const& clientRTPPort,
131 Port const& clientRTCPPort,
133 unsigned char rtpChannelId,
134 unsigned char rtcpChannelId,
136 struct sockaddr_storage& destinationAddress,
137 u_int8_t& destinationTTL,
140 Port& serverRTCPPort,
143 virtual void startStream(
unsigned clientSessionId,
void* streamToken,
145 void* rtcpRRHandlerClientData,
146 unsigned short& rtpSeqNum,
147 unsigned& rtpTimestamp,
149 void* serverRequestAlternativeByteHandlerClientData) = 0;
150 virtual void pauseStream(
unsigned clientSessionId,
void* streamToken);
151 virtual void seekStream(
unsigned clientSessionId,
void* streamToken,
double& seekNPT,
152 double streamDuration, u_int64_t& numBytes);
156 virtual void seekStream(
unsigned clientSessionId,
void* streamToken,
char*& absStart,
char*& absEnd);
162 double streamEndTime, u_int64_t& numBytes);
164 virtual void setStreamScale(
unsigned clientSessionId,
void* streamToken,
float scale);
173 virtual void deleteStream(
unsigned clientSessionId,
void*& streamToken);
void ServerRequestAlternativeByteHandler(void *instance, u_int8_t requestByte)
void TaskFunc(void *clientData)