* returned
*/
char reason[256];
-
- /** The "Content-Base:" field.
- */
- char content_base[4096];
} RTSPMessageHeader;
/**
/** Reusable buffer for receiving packets */
uint8_t* recvbuf;
+
+ /** Filter incoming UDP packets - receive packets only from the right
+ * source address and port. */
+ int filter_source;
} RTSPState;
/**
} RTSPStream;
void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf,
- HTTPAuthState *auth_state);
+ RTSPState *rt, const char *method);
extern int rtsp_rtp_port_min;
extern int rtsp_rtp_port_max;
*/
int ff_rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt);
+/**
+ * Do the SETUP requests for each stream for the chosen
+ * lower transport mode.
+ */
+int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
+ int lower_transport, const char *real_challenge);
+
#endif /* AVFORMAT_RTSP_H */