| OLD | NEW |
| 1 /* | 1 /* |
| 2 * RTSP definitions | 2 * RTSP definitions |
| 3 * Copyright (c) 2002 Fabrice Bellard | 3 * Copyright (c) 2002 Fabrice Bellard |
| 4 * | 4 * |
| 5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
| 6 * | 6 * |
| 7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 RTPDynamicProtocolHandler *dynamic_handler; | 344 RTPDynamicProtocolHandler *dynamic_handler; |
| 345 | 345 |
| 346 /** private data associated with the dynamic protocol */ | 346 /** private data associated with the dynamic protocol */ |
| 347 PayloadContext *dynamic_protocol_context; | 347 PayloadContext *dynamic_protocol_context; |
| 348 //@} | 348 //@} |
| 349 } RTSPStream; | 349 } RTSPStream; |
| 350 | 350 |
| 351 void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf, | 351 void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf, |
| 352 HTTPAuthState *auth_state); | 352 HTTPAuthState *auth_state); |
| 353 | 353 |
| 354 #if LIBAVFORMAT_VERSION_INT < (53 << 16) | |
| 355 extern int rtsp_default_protocols; | |
| 356 #endif | |
| 357 extern int rtsp_rtp_port_min; | 354 extern int rtsp_rtp_port_min; |
| 358 extern int rtsp_rtp_port_max; | 355 extern int rtsp_rtp_port_max; |
| 359 | 356 |
| 360 /** | 357 /** |
| 361 * Send a command to the RTSP server without waiting for the reply. | 358 * Send a command to the RTSP server without waiting for the reply. |
| 362 * | 359 * |
| 363 * @param s RTSP (de)muxer context | 360 * @param s RTSP (de)muxer context |
| 364 * @param method the method for the request | 361 * @param method the method for the request |
| 365 * @param url the target url for the request | 362 * @param url the target url for the request |
| 366 * @param headers extra header lines to include in the request | 363 * @param headers extra header lines to include in the request |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 void ff_rtsp_close_streams(AVFormatContext *s); | 462 void ff_rtsp_close_streams(AVFormatContext *s); |
| 466 | 463 |
| 467 /** | 464 /** |
| 468 * Close all connection handles within the RTSP (de)muxer | 465 * Close all connection handles within the RTSP (de)muxer |
| 469 * | 466 * |
| 470 * @param rt RTSP (de)muxer context | 467 * @param rt RTSP (de)muxer context |
| 471 */ | 468 */ |
| 472 void ff_rtsp_close_connections(AVFormatContext *rt); | 469 void ff_rtsp_close_connections(AVFormatContext *rt); |
| 473 | 470 |
| 474 #endif /* AVFORMAT_RTSP_H */ | 471 #endif /* AVFORMAT_RTSP_H */ |
| OLD | NEW |