Lines Matching defs:rtsp_st
245 RTSPStream *rtsp_st;
283 rtsp_st = rt->rtsp_streams[streamid];
287 if (rtsp_st->transport_priv) {
289 ff_rdt_parse_close(rtsp_st->transport_priv);
291 ff_rtp_parse_close(rtsp_st->transport_priv);
292 rtsp_st->transport_priv = NULL;
294 if (rtsp_st->rtp_handle)
295 ffurl_closep(&rtsp_st->rtp_handle);
299 if ((ret = ff_rtsp_open_transport_ctx(s, rtsp_st))) {
303 rtsp_st->interleaved_min = request.transports[0].interleaved_min;
304 rtsp_st->interleaved_max = request.transports[0].interleaved_max;
315 ret = ffurl_open_whitelist(&rtsp_st->rtp_handle, url, AVIO_FLAG_READ_WRITE,
328 ff_rtp_get_local_rtp_port(rtsp_st->rtp_handle));
329 if ((ret = ff_rtsp_open_transport_ctx(s, rtsp_st))) {
334 localport = ff_rtp_get_local_rtp_port(rtsp_st->rtp_handle);
536 RTSPStream *rtsp_st = rt->rtsp_streams[i];
541 if (rtsp_st->rtp_handle &&
543 ff_rtp_send_punch_packets(rtsp_st->rtp_handle);
549 RTSPStream *rtsp_st = rt->rtsp_streams[i];
550 RTPDemuxContext *rtpctx = rtsp_st->transport_priv;
577 RTSPStream *rtsp_st = rt->rtsp_streams[i];
578 RTPDemuxContext *rtpctx = rtsp_st->transport_priv;
580 if (!rtpctx || rtsp_st->stream_index < 0)
583 st = s->streams[rtsp_st->stream_index];
788 RTSPStream *rtsp_st;
822 rtsp_st = rt->rtsp_streams[i];
823 if (id >= rtsp_st->interleaved_min &&
824 id <= rtsp_st->interleaved_max)
829 *prtsp_st = rtsp_st;