Implement a RDT-specific SET_PARAMETER command that subscribes to the

first stream in a RTSP/RDT session. See discussion in "Realmedia patch"
thread on ML.

Originally committed as revision 15235 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje
2008-09-07 01:22:18 +00:00
parent ff13ba92fd
commit 1256d16b6c
3 changed files with 57 additions and 2 deletions

View File

@ -42,4 +42,16 @@ void ff_rdt_calc_response_and_checksum(char response[41], char chksum[9],
*/
void av_register_rdt_dynamic_payload_handlers(void);
/**
* Add subscription information to Subscribe parameter string.
*
* @param s RDT context
* @param cmd string to write the subscription information into.
* @param size size of cmd.
* @param stream_nr stream number.
* @param rule_nr rule number to conform to.
*/
void ff_rdt_subscribe_rule(RTPDemuxContext *s, char *cmd, int size,
int stream_nr, int rule_nr);
#endif /* AVFORMAT_RDT_H */