FFmpeg
Data Fields
RTMP_HTTPContext Struct Reference

Data Fields

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

Detailed Description

Definition at line 39 of file rtmphttp.c.

Field Documentation

◆ class

const AVClass* RTMP_HTTPContext::class

Definition at line 40 of file rtmphttp.c.

◆ stream

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().

◆ host

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().

◆ port

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().

◆ client_id

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().

◆ seq

int RTMP_HTTPContext::seq

sequence ID used for all requests

Definition at line 45 of file rtmphttp.c.

Referenced by rtmp_http_send_cmd().

◆ out_data

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().

◆ out_size

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().

◆ out_capacity

int RTMP_HTTPContext::out_capacity

current output buffer capacity

Definition at line 48 of file rtmphttp.c.

Referenced by rtmp_http_write().

◆ initialized

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().

◆ finishing

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().

◆ nb_bytes_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().

◆ tls

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: