FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
RTMP_HTTPContext Struct Reference

Data Fields

const AVClassclass
 
URLContextstream
 HTTP stream.
 
char host [256]
 hostname of the server
 
int port
 port to connect (default is 80)
 
char client_id [64]
 client ID used for all requests except the first one
 
int seq
 sequence ID used for all requests
 
uint8_tout_data
 output buffer
 
int out_size
 current output buffer size
 
int out_capacity
 current output buffer capacity
 
int initialized
 flag indicating when the http context is initialized
 
int finishing
 flag indicating when the client closes the connection
 
int nb_bytes_read
 number of bytes read since the last request
 
int tls
 use Transport Security Layer (RTMPTS)
 

Detailed Description

Definition at line 39 of file rtmphttp.c.

Field Documentation

const AVClass* RTMP_HTTPContext::class

Definition at line 40 of file rtmphttp.c.

URLContext* RTMP_HTTPContext::stream

HTTP stream.

Definition at line 41 of file rtmphttp.c.

Referenced by rtmp_http_close(), rtmp_http_open(), rtmp_http_read(), and rtmp_http_send_cmd().

char RTMP_HTTPContext::host[256]

hostname of the server

Definition at line 42 of file rtmphttp.c.

Referenced by rtmp_http_open(), and rtmp_http_send_cmd().

int RTMP_HTTPContext::port

port to connect (default is 80)

Definition at line 43 of file rtmphttp.c.

Referenced by rtmp_http_open(), and rtmp_http_send_cmd().

char RTMP_HTTPContext::client_id[64]

client ID used for all requests except the first one

Definition at line 44 of file rtmphttp.c.

Referenced by rtmp_http_open(), and rtmp_http_send_cmd().

int RTMP_HTTPContext::seq

sequence ID used for all requests

Definition at line 45 of file rtmphttp.c.

Referenced by rtmp_http_send_cmd().

uint8_t* RTMP_HTTPContext::out_data

output buffer

Definition at line 46 of file rtmphttp.c.

Referenced by rtmp_http_close(), rtmp_http_send_cmd(), and rtmp_http_write().

int RTMP_HTTPContext::out_size

current output buffer size

Definition at line 47 of file rtmphttp.c.

Referenced by rtmp_http_close(), rtmp_http_read(), rtmp_http_send_cmd(), and rtmp_http_write().

int RTMP_HTTPContext::out_capacity

current output buffer capacity

Definition at line 48 of file rtmphttp.c.

Referenced by rtmp_http_write().

int RTMP_HTTPContext::initialized

flag indicating when the http context is initialized

Definition at line 49 of file rtmphttp.c.

Referenced by rtmp_http_close(), and rtmp_http_open().

int RTMP_HTTPContext::finishing

flag indicating when the client closes the connection

Definition at line 50 of file rtmphttp.c.

Referenced by rtmp_http_close(), and rtmp_http_read().

int RTMP_HTTPContext::nb_bytes_read

number of bytes read since the last request

Definition at line 51 of file rtmphttp.c.

Referenced by rtmp_http_read(), and rtmp_http_send_cmd().

int RTMP_HTTPContext::tls

use Transport Security Layer (RTMPTS)

Definition at line 52 of file rtmphttp.c.

Referenced by rtmp_http_open().


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