Searched refs:rtsp_st (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | rtsp.c | 220 RTSPStream *rtsp_st, AVStream *st) in init_rtp_handler() argument 227 rtsp_st->dynamic_handler = handler; in init_rtp_handler() 231 rtsp_st->dynamic_protocol_context = av_mallocz(handler->priv_data_size); in init_rtp_handler() 232 if (!rtsp_st->dynamic_protocol_context) in init_rtp_handler() 233 rtsp_st->dynamic_handler = NULL; in init_rtp_handler() 237 static void finalize_rtp_handler_init(AVFormatContext *s, RTSPStream *rtsp_st, in finalize_rtp_handler_init() argument 240 if (rtsp_st->dynamic_handler && rtsp_st->dynamic_handler->init) { in finalize_rtp_handler_init() 241 int ret = rtsp_st->dynamic_handler->init(s, st ? st->index : -1, in finalize_rtp_handler_init() 242 rtsp_st->dynamic_protocol_context); in finalize_rtp_handler_init() 244 if (rtsp_st->dynamic_protocol_context) { in finalize_rtp_handler_init() [all …]
|
D | rtspenc.c | 92 RTSPStream *rtsp_st; in ff_rtsp_setup_output_streams() local 94 rtsp_st = av_mallocz(sizeof(RTSPStream)); in ff_rtsp_setup_output_streams() 95 if (!rtsp_st) in ff_rtsp_setup_output_streams() 97 dynarray_add(&rt->rtsp_streams, &rt->nb_rtsp_streams, rtsp_st); in ff_rtsp_setup_output_streams() 99 rtsp_st->stream_index = i; in ff_rtsp_setup_output_streams() 101 av_strlcpy(rtsp_st->control_url, rt->control_uri, sizeof(rtsp_st->control_url)); in ff_rtsp_setup_output_streams() 103 av_strlcatf(rtsp_st->control_url, sizeof(rtsp_st->control_url), in ff_rtsp_setup_output_streams() 141 int ff_rtsp_tcp_write_packet(AVFormatContext *s, RTSPStream *rtsp_st) in ff_rtsp_tcp_write_packet() argument 144 AVFormatContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_tcp_write_packet() 166 id = rtsp_st->interleaved_max; /* RTCP */ in ff_rtsp_tcp_write_packet() [all …]
|
D | rtspdec.c | 236 RTSPStream *rtsp_st; in rtsp_read_setup() local 274 rtsp_st = rt->rtsp_streams[streamid]; in rtsp_read_setup() 278 if (rtsp_st->transport_priv) { in rtsp_read_setup() 280 ff_rdt_parse_close(rtsp_st->transport_priv); in rtsp_read_setup() 282 ff_rtp_parse_close(rtsp_st->transport_priv); in rtsp_read_setup() 283 rtsp_st->transport_priv = NULL; in rtsp_read_setup() 285 if (rtsp_st->rtp_handle) in rtsp_read_setup() 286 ffurl_closep(&rtsp_st->rtp_handle); in rtsp_read_setup() 290 if ((ret = ff_rtsp_open_transport_ctx(s, rtsp_st))) { in rtsp_read_setup() 294 rtsp_st->interleaved_min = request.transports[0].interleaved_min; in rtsp_read_setup() [all …]
|
D | rtsp.h | 624 int ff_rtsp_tcp_write_packet(AVFormatContext *s, RTSPStream *rtsp_st); 649 int ff_rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st);
|