Revision 3d21b4f6 libavformat/rtsp.h

View differences:

libavformat/rtsp.h
374 374
/**
375 375
 * Send a command to the RTSP server without waiting for the reply.
376 376
 *
377
 * @param s RTSP (de)muxer context
378
 * @param method the method for the request
379
 * @param url the target url for the request
380
 * @param headers extra header lines to include in the request
381
 * @param send_content if non-null, the data to send as request body content
382
 * @param send_content_length the length of the send_content data, or 0 if
383
 *                            send_content is null
384
 *
385
 * @return zero if success, nonzero otherwise
386
 */
387
int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
388
                                        const char *method, const char *url,
389
                                        const char *headers,
390
                                        const unsigned char *send_content,
391
                                        int send_content_length);
392
/**
393
 * Send a command to the RTSP server without waiting for the reply.
394
 *
395 377
 * @see rtsp_send_cmd_with_content_async
396 378
 */
397 379
int ff_rtsp_send_cmd_async(AVFormatContext *s, const char *method,

Also available in: Unified diff