X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fstream_out%2Frtp.h;h=94b8a79960ea56d5061d17d77236604cc65c250d;hb=e30cb4fb539e4fa5ae16ae04c45fe9c6ed52f586;hp=1f9841c78008050a0b95b4a98781eeff8d709cf7;hpb=ce7a4746ad10d451e5e2807be44181df9456d6f0;p=vlc diff --git a/modules/stream_out/rtp.h b/modules/stream_out/rtp.h index 1f9841c780..94b8a79960 100644 --- a/modules/stream_out/rtp.h +++ b/modules/stream_out/rtp.h @@ -29,18 +29,20 @@ rtsp_stream_t *RtspSetup( sout_stream_t *p_stream, const vlc_url_t *url ); void RtspUnsetup( rtsp_stream_t *rtsp ); rtsp_stream_id_t *RtspAddId( rtsp_stream_t *rtsp, sout_stream_id_t *sid, - unsigned i, uint32_t ssrc, + uint32_t ssrc, const char *dst, int ttl, unsigned loport, unsigned hiport ); void RtspDelId( rtsp_stream_t *rtsp, rtsp_stream_id_t * ); +char *RtspAppendTrackPath( rtsp_stream_id_t *id, const char *base ); + char *SDPGenerate( const sout_stream_t *p_stream, const char *rtsp_url ); -int rtp_add_sink( sout_stream_id_t *id, int fd, bool rtcp_mux ); +uint32_t rtp_compute_ts( const sout_stream_id_t *id, int64_t i_pts ); +int rtp_add_sink( sout_stream_id_t *id, int fd, bool rtcp_mux, uint16_t *seq ); void rtp_del_sink( sout_stream_id_t *id, int fd ); -uint16_t rtp_get_seq( const sout_stream_id_t *id ); -uint32_t rtp_get_ts( const sout_stream_id_t *id ); -unsigned rtp_get_num( const sout_stream_id_t *id ); +uint16_t rtp_get_seq( sout_stream_id_t *id ); +int64_t rtp_get_ts( const sout_stream_t *p_stream ); /* RTP packetization */ void rtp_packetize_common (sout_stream_id_t *id, block_t *out,