Showing the changes to avserver.c (1 of 5 files). Show all
Unified · Split
| @@ -3169,8 +3169,8 @@ static void rtsp_cmd_setup(HTTPContext *c, const char *url, · 3168 unmodified lines | |||
| 3169 | 3169 | ||
| 3170 | switch(rtp_c->rtp_protocol) { | 3170 | switch(rtp_c->rtp_protocol) { |
| 3171 | case RTSP_LOWER_TRANSPORT_UDP: | 3171 | case RTSP_LOWER_TRANSPORT_UDP: |
| 3172 | rtp_port = rtp_get_local_rtp_port(rtp_c->rtp_handles[stream_index]); | 3172 | rtp_port = ff_rtp_get_local_rtp_port(rtp_c->rtp_handles[stream_index]); |
| 3173 | rtcp_port = rtp_get_local_rtcp_port(rtp_c->rtp_handles[stream_index]); | 3173 | rtcp_port = ff_rtp_get_local_rtcp_port(rtp_c->rtp_handles[stream_index]); |
| 3174 | avio_printf(c->pb, "Transport: RTP/AVP/UDP;unicast;" | 3174 | avio_printf(c->pb, "Transport: RTP/AVP/UDP;unicast;" |
| 3175 | "client_port=%d-%d;server_port=%d-%d", | 3175 | "client_port=%d-%d;server_port=%d-%d", |
| 3176 | th->client_port_min, th->client_port_max, | 3176 | th->client_port_min, th->client_port_max, |