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

Data Fields

AVClassclass
 
AVFormatContextctx
 
int n_variants
 
struct variant ** variants
 
int n_playlists
 
struct playlist ** playlists
 
int n_renditions
 
struct rendition ** renditions
 
int cur_seq_no
 
int live_start_index
 
int first_packet
 
int64_t first_timestamp
 
int64_t cur_timestamp
 
AVIOInterruptCBinterrupt_callback
 
AVDictionaryavio_opts
 
int strict_std_compliance
 
char * allowed_extensions
 
int max_reload
 
int http_persistent
 
int http_multiple
 
AVIOContextplaylist_pb
 
const AVClassclass
 
int64_t start_sequence
 
uint32_t start_sequence_source_type
 
float time
 
float init_time
 
int max_nb_segments
 
int hls_delete_threshold
 
uint32_t flags
 
uint32_t pl_type
 
char * segment_filename
 
char * fmp4_init_filename
 
int segment_type
 
int use_localtime
 flag to expand filename with localtime More...
 
int use_localtime_mkdir
 flag to mkdir dirname in timebased filename More...
 
int allowcache
 
int64_t recording_time
 
int64_t max_seg_size
 
char * baseurl
 
char * format_options_str
 
char * vtt_format_options_str
 
char * subtitle_filename
 
AVDictionaryformat_options
 
int encrypt
 
char * key
 
char * key_url
 
char * iv
 
char * key_basename
 
int encrypt_started
 
char * key_info_file
 
char key_file [LINE_BUFFER_SIZE+1]
 
char key_uri [LINE_BUFFER_SIZE+1]
 
char key_string [KEYSIZE *2+1]
 
char iv_string [KEYSIZE *2+1]
 
AVDictionaryvtt_format_options
 
char * method
 
char * user_agent
 
VariantStreamvar_streams
 
unsigned int nb_varstreams
 
ClosedCaptionsStreamcc_streams
 
unsigned int nb_ccstreams
 
int master_m3u8_created
 
char * master_m3u8_url
 
int version
 
char * var_stream_map
 
char * cc_stream_map
 
char * master_pl_name
 
unsigned int master_publish_rate
 
AVIOContextm3u8_out
 
AVIOContextsub_m3u8_out
 
int64_t timeout
 
char playlisturl [MAX_URL_SIZE]
 
int64_t target_duration
 
int start_seq_no
 
int finished
 
int n_segments
 
struct segment ** segments
 
URLContextseg_hd
 
int64_t last_load_time
 

Detailed Description

Definition at line 189 of file hls.c.

Field Documentation

AVClass* HLSContext::class

Definition at line 190 of file hls.c.

AVFormatContext* HLSContext::ctx
int HLSContext::n_variants
struct variant ** HLSContext::variants
int HLSContext::n_playlists
struct playlist** HLSContext::playlists
int HLSContext::n_renditions

Definition at line 196 of file hls.c.

Referenced by add_renditions_to_variant(), free_rendition_list(), and new_rendition().

struct rendition** HLSContext::renditions

Definition at line 197 of file hls.c.

Referenced by add_renditions_to_variant(), free_rendition_list(), and new_rendition().

int HLSContext::cur_seq_no

Definition at line 199 of file hls.c.

Referenced by hls_open(), hls_read(), read_data(), and select_cur_seq_no().

int HLSContext::live_start_index

Definition at line 200 of file hls.c.

Referenced by select_cur_seq_no().

int HLSContext::first_packet

Definition at line 201 of file hls.c.

Referenced by hls_read_header(), hls_read_packet(), and select_cur_seq_no().

int64_t HLSContext::first_timestamp
int64_t HLSContext::cur_timestamp
AVIOInterruptCB* HLSContext::interrupt_callback

Definition at line 204 of file hls.c.

Referenced by hls_read_header(), and read_data().

AVDictionary* HLSContext::avio_opts

Definition at line 205 of file hls.c.

Referenced by hls_close(), hls_read_header(), open_input(), parse_playlist(), and save_avio_options().

int HLSContext::strict_std_compliance

Definition at line 206 of file hls.c.

Referenced by hls_read_header(), and new_rendition().

char* HLSContext::allowed_extensions

Definition at line 207 of file hls.c.

Referenced by open_url().

int HLSContext::max_reload

Definition at line 208 of file hls.c.

Referenced by read_data().

int HLSContext::http_persistent
int HLSContext::http_multiple

Definition at line 210 of file hls.c.

Referenced by read_data().

AVIOContext* HLSContext::playlist_pb

Definition at line 211 of file hls.c.

Referenced by hls_close(), and parse_playlist().

const AVClass* HLSContext::class

Definition at line 168 of file hlsenc.c.

int64_t HLSContext::start_sequence

Definition at line 169 of file hlsenc.c.

Referenced by hls_init(), hls_window(), hls_write_packet(), and parse_playlist().

uint32_t HLSContext::start_sequence_source_type

Definition at line 170 of file hlsenc.c.

Referenced by hls_init().

float HLSContext::time

Definition at line 172 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

float HLSContext::init_time

Definition at line 173 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

int HLSContext::max_nb_segments

Definition at line 174 of file hlsenc.c.

Referenced by hls_append_segment().

int HLSContext::hls_delete_threshold

Definition at line 175 of file hlsenc.c.

Referenced by hls_delete_old_segments().

uint32_t HLSContext::flags
uint32_t HLSContext::pl_type

Definition at line 180 of file hlsenc.c.

Referenced by hls_append_segment(), hls_window(), and hls_write_packet().

char* HLSContext::segment_filename

Definition at line 181 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and hls_init().

char* HLSContext::fmp4_init_filename

Definition at line 182 of file hlsenc.c.

Referenced by hls_init().

int HLSContext::segment_type
int HLSContext::use_localtime

flag to expand filename with localtime

Definition at line 185 of file hlsenc.c.

Referenced by hls_init(), and hls_start().

int HLSContext::use_localtime_mkdir

flag to mkdir dirname in timebased filename

Definition at line 186 of file hlsenc.c.

Referenced by hls_append_segment(), hls_delete_old_segments(), and hls_start().

int HLSContext::allowcache

Definition at line 187 of file hlsenc.c.

Referenced by hls_window().

int64_t HLSContext::recording_time

Definition at line 188 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

int64_t HLSContext::max_seg_size
char* HLSContext::baseurl

Definition at line 191 of file hlsenc.c.

Referenced by hls_init().

char* HLSContext::format_options_str

Definition at line 192 of file hlsenc.c.

Referenced by hls_init(), hls_mux_init(), and hls_write_header().

char* HLSContext::vtt_format_options_str

Definition at line 193 of file hlsenc.c.

char* HLSContext::subtitle_filename

Definition at line 194 of file hlsenc.c.

Referenced by hls_init().

AVDictionary* HLSContext::format_options

Definition at line 195 of file hlsenc.c.

Referenced by hls_init(), hls_mux_init(), and hls_write_header().

int HLSContext::encrypt

Definition at line 197 of file hlsenc.c.

Referenced by hls_append_segment(), hls_start(), hls_window(), and hlsenc_io_close().

char* HLSContext::key

Definition at line 198 of file hlsenc.c.

Referenced by do_encrypt().

char* HLSContext::key_url

Definition at line 199 of file hlsenc.c.

Referenced by do_encrypt().

char* HLSContext::iv

Definition at line 200 of file hlsenc.c.

Referenced by do_encrypt().

char* HLSContext::key_basename

Definition at line 201 of file hlsenc.c.

Referenced by do_encrypt(), hls_init(), and hls_write_trailer().

int HLSContext::encrypt_started

Definition at line 202 of file hlsenc.c.

Referenced by hls_start().

char* HLSContext::key_info_file
char HLSContext::key_file[LINE_BUFFER_SIZE+1]

Definition at line 205 of file hlsenc.c.

Referenced by do_encrypt(), and hls_encryption_start().

char HLSContext::key_uri[LINE_BUFFER_SIZE+1]

Definition at line 206 of file hlsenc.c.

Referenced by do_encrypt(), hls_append_segment(), hls_encryption_start(), and parse_playlist().

char HLSContext::key_string[KEYSIZE *2+1]

Definition at line 207 of file hlsenc.c.

Referenced by do_encrypt(), hls_encryption_start(), and hls_start().

char HLSContext::iv_string[KEYSIZE *2+1]
AVDictionary* HLSContext::vtt_format_options

Definition at line 209 of file hlsenc.c.

char* HLSContext::method

Definition at line 211 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and set_http_options().

char* HLSContext::user_agent

Definition at line 212 of file hlsenc.c.

Referenced by set_http_options().

VariantStream* HLSContext::var_streams
unsigned int HLSContext::nb_varstreams
ClosedCaptionsStream* HLSContext::cc_streams
unsigned int HLSContext::nb_ccstreams
int HLSContext::master_m3u8_created

Definition at line 219 of file hlsenc.c.

Referenced by create_master_playlist().

char* HLSContext::master_m3u8_url
int HLSContext::version

Definition at line 221 of file hlsenc.c.

Referenced by create_master_playlist(), and hls_window().

char* HLSContext::var_stream_map

Definition at line 222 of file hlsenc.c.

Referenced by parse_variant_stream_mapstring(), and update_variant_stream_info().

char* HLSContext::cc_stream_map

Definition at line 223 of file hlsenc.c.

Referenced by parse_cc_stream_mapstring(), and update_variant_stream_info().

char* HLSContext::master_pl_name

Definition at line 224 of file hlsenc.c.

Referenced by hls_init(), hls_window(), and update_master_pl_info().

unsigned int HLSContext::master_publish_rate

Definition at line 225 of file hlsenc.c.

Referenced by create_master_playlist().

AVIOContext* HLSContext::m3u8_out

Definition at line 227 of file hlsenc.c.

Referenced by create_master_playlist(), hls_window(), and hls_write_trailer().

AVIOContext* HLSContext::sub_m3u8_out

Definition at line 228 of file hlsenc.c.

Referenced by hls_window(), and hls_write_trailer().

int64_t HLSContext::timeout

Definition at line 229 of file hlsenc.c.

Referenced by set_http_options().

char HLSContext::playlisturl[MAX_URL_SIZE]

Definition at line 59 of file hlsproto.c.

Referenced by hls_open(), and hls_read().

int64_t HLSContext::target_duration

Definition at line 60 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().

int HLSContext::start_seq_no

Definition at line 61 of file hlsproto.c.

Referenced by hls_open(), hls_read(), and parse_playlist().

int HLSContext::finished

Definition at line 62 of file hlsproto.c.

Referenced by hls_open(), hls_read(), and parse_playlist().

int HLSContext::n_segments

Definition at line 63 of file hlsproto.c.

Referenced by free_segment_list(), hls_open(), hls_read(), and parse_playlist().

struct segment** HLSContext::segments

Definition at line 64 of file hlsproto.c.

Referenced by free_segment_list(), hls_read(), and parse_playlist().

URLContext* HLSContext::seg_hd

Definition at line 68 of file hlsproto.c.

Referenced by hls_close(), and hls_read().

int64_t HLSContext::last_load_time

Definition at line 69 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().


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