URLProtocol

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

default_whitelist
char* default_whitelist;
Undocumented in source.
flags
int flags;
Undocumented in source.
name
char* name;
Undocumented in source.
next
URLProtocol* next;
Undocumented in source.
priv_data_class
AVClass* priv_data_class;
Undocumented in source.
priv_data_size
int priv_data_size;
Undocumented in source.
url_accept
int function(URLContext* s, URLContext** c) url_accept;
Undocumented in source.
url_check
int function(URLContext* h, int mask) url_check;
Undocumented in source.
url_close
int function(URLContext* h) url_close;
Undocumented in source.
url_close_dir
int function(URLContext* h) url_close_dir;
Undocumented in source.
url_delete
int function(URLContext* h) url_delete;
Undocumented in source.
url_get_file_handle
int function(URLContext* h) url_get_file_handle;
Undocumented in source.
url_get_multi_file_handle
int function(URLContext* h, int** handles, int* numhandles) url_get_multi_file_handle;
Undocumented in source.
url_handshake
int function(URLContext* c) url_handshake;
Undocumented in source.
url_move
int function(URLContext* h_src, URLContext* h_dst) url_move;
Undocumented in source.
url_open
int function(URLContext* h, const char* url, int flags) url_open;
Undocumented in source.
url_open2
int function(URLContext* h, const char* url, int flags, AVDictionary** options) url_open2;

This callback is to be used by protocols which open further nested protocols. options are then to be passed to ffurl_open()/ffurl_connect() for those nested protocols.

url_open_dir
int function(URLContext* h) url_open_dir;
Undocumented in source.
url_read
int function(URLContext* h, ubyte* buf, int size) url_read;

Read data from the protocol. If data is immediately available (even less than size), EOF is reached or an error occurs (including EINTR), return immediately. Otherwise: In non-blocking mode, return AVERROR(EAGAIN) immediately. In blocking mode, wait for data/EOF/error with a short timeout (0.1s), and return AVERROR(EAGAIN) on timeout. Checking interrupt_callback, looping on EINTR and EAGAIN and until enough data has been read is left to the calling function; see retry_transfer_wrapper in avio.c.

url_read_dir
int function(URLContext* h, AVIODirEntry** next) url_read_dir;
Undocumented in source.
url_read_pause
int function(URLContext* h, int pause) url_read_pause;
Undocumented in source.
url_read_seek
int64_t function(URLContext* h, int stream_index, int64_t timestamp, int flags) url_read_seek;
Undocumented in source.
url_seek
int64_t function(URLContext* h, int64_t pos, int whence) url_seek;
Undocumented in source.
url_shutdown
int function(URLContext* h, int flags) url_shutdown;
Undocumented in source.
url_write
int function(URLContext* h, const ubyte* buf, int size) url_write;
Undocumented in source.

Meta