diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-09-07 01:22:18 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-09-07 01:22:18 +0000 |
commit | 1256d16b6cf937c180bb898a37e1c79a27b79922 (patch) | |
tree | 6303fbea6e991249fd3a6a58041b27bab5bbe2f5 /libavformat/rdt.h | |
parent | ff13ba92fd6bfee75db3d1e2f593474946cbfb68 (diff) | |
download | ffmpeg-1256d16b6cf937c180bb898a37e1c79a27b79922.tar.gz |
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
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r-- | libavformat/rdt.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 */ |