diff rdt.h @ 3903:aeb79f68ba7e libavformat

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.
author rbultje
date Sun, 07 Sep 2008 01:22:18 +0000
parents 5f9bec099c69
children 91987686113d
line wrap: on
line diff
--- a/rdt.h	Sun Sep 07 01:21:24 2008 +0000
+++ b/rdt.h	Sun Sep 07 01:22:18 2008 +0000
@@ -42,4 +42,16 @@
  */
 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 */