URLContext Struct Reference

URL Context. More...

#include <avio.h>

Data Fields

const AVClassav_class
 information for av_log(). Set by url_open().
struct URLProtocolprot
int flags
int is_streamed
 true if streamed (no seek possible), default = false
int max_packet_size
 if non zero, the stream is packetized with this max packet size
void * priv_data
char * filename
 specified URL
int is_connected
AVIOInterruptCB interrupt_callback

Detailed Description

URL Context.

New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(URLContext) must not be used outside libav*.

Deprecated:
This struct will be made private

Definition at line 136 of file avio.h.


Field Documentation

information for av_log(). Set by url_open().

Definition at line 137 of file avio.h.

Referenced by url_alloc_for_protocol().

specified URL

Definition at line 143 of file avio.h.

Referenced by ffurl_connect(), file_check(), md5_close(), rtmp_open(), url_alloc_for_protocol(), and url_get_filename().

Definition at line 144 of file avio.h.

Referenced by ffurl_close(), and ffurl_connect().

if non zero, the stream is packetized with this max packet size

Definition at line 141 of file avio.h.

Referenced by ffio_fdopen(), ffurl_write(), rtmp_open(), rtp_open(), sap_write_header(), udp_open(), url_alloc_for_protocol(), and url_get_max_packet_size().


The documentation for this struct was generated from the following file: