From 1256d16b6cf937c180bb898a37e1c79a27b79922 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 7 Sep 2008 01:22:18 +0000 Subject: 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 --- libavformat/rdt.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libavformat/rdt.h') diff --git a/libavformat/rdt.h b/libavformat/rdt.h index 5da9a78628..37b1928570 100644 --- a/libavformat/rdt.h +++ b/libavformat/rdt.h @@ -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 */ -- cgit v1.2.3