]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rdt.h
Make RTSP use the generic http authentication code
[ffmpeg] / libavformat / rdt.h
index 04cc82d38925680efa82fc8a31b23e78b8b23275..1592c2f02d1e7190ab3a6c58a449f27dc6c7f67e 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <stdint.h>
 #include "avformat.h"
-#include "rtp.h"
+#include "rtpdec.h"
 
 typedef struct RDTDemuxContext RDTDemuxContext;
 
@@ -74,9 +74,6 @@ void av_register_rdt_dynamic_payload_handlers(void);
  */
 void ff_rdt_subscribe_rule(char *cmd, int size,
                            int stream_nr, int rule_nr);
-// FIXME this will be removed ASAP
-void ff_rdt_subscribe_rule2(RDTDemuxContext *s, char *cmd, int size,
-                            int stream_nr, int rule_nr);
 
 /**
  * Parse RDT-style packet header.
@@ -101,4 +98,15 @@ int ff_rdt_parse_header(const uint8_t *buf, int len,
 int ff_rdt_parse_packet(RDTDemuxContext *s, AVPacket *pkt,
                         const uint8_t *buf, int len);
 
+/**
+ * Parse a server-related SDP line.
+ *
+ * @param s the RTSP AVFormatContext
+ * @param stream_index the index of the first stream in the set represented
+ *               by the SDP m= line (in s->streams)
+ * @param buf the SDP line
+ */
+void ff_real_parse_sdp_a_line(AVFormatContext *s, int stream_index,
+                              const char *buf);
+
 #endif /* AVFORMAT_RDT_H */