FFmpeg
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
 
int64_t cur_seq_no
 
int m3u8_hold_counters
 
int live_start_index
 
int prefer_x_start
 
int first_packet
 
int64_t first_timestamp
 
int64_t cur_timestamp
 
AVIOInterruptCBinterrupt_callback
 
AVDictionaryavio_opts
 
AVDictionaryseg_format_opts
 
char * allowed_extensions
 
int max_reload
 
int http_persistent
 
int http_multiple
 
int http_seekable
 
int seg_max_retry
 
AVIOContextplaylist_pb
 
HLSCryptoContext crypto_ctx
 
const AVClassclass
 
int64_t start_sequence
 
uint32_t start_sequence_source_type
 
int64_t time
 
int64_t 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 resend_init_file
 resend init file into disk after refresh m3u8 More...
 
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 * 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
 
AVIOContexthttp_delete
 
int64_t timeout
 
int ignore_io_errors
 
char * headers
 
int has_default_key
 
int has_video_m3u8
 
char playlisturl [MAX_URL_SIZE]
 
int64_t target_duration
 
int start_seq_no
 
int finished
 
int n_segments
 
struct segment ** segments
 
int cur_seq_no
 
URLContextseg_hd
 
int64_t last_load_time
 

Detailed Description

Definition at line 205 of file hls.c.

Field Documentation

◆ class [1/2]

AVClass* HLSContext::class

Definition at line 206 of file hls.c.

◆ ctx

AVFormatContext* HLSContext::ctx

Definition at line 207 of file hls.c.

◆ n_variants

int HLSContext::n_variants

Definition at line 208 of file hls.c.

◆ variants

struct variant ** HLSContext::variants

Definition at line 209 of file hls.c.

◆ n_playlists

int HLSContext::n_playlists

Definition at line 210 of file hls.c.

◆ playlists

struct playlist** HLSContext::playlists

Definition at line 211 of file hls.c.

◆ n_renditions

int HLSContext::n_renditions

Definition at line 212 of file hls.c.

◆ renditions

struct rendition** HLSContext::renditions

Definition at line 213 of file hls.c.

◆ cur_seq_no [1/2]

int64_t HLSContext::cur_seq_no

Definition at line 215 of file hls.c.

◆ m3u8_hold_counters

int HLSContext::m3u8_hold_counters

Definition at line 216 of file hls.c.

◆ live_start_index

int HLSContext::live_start_index

Definition at line 217 of file hls.c.

◆ prefer_x_start

int HLSContext::prefer_x_start

Definition at line 218 of file hls.c.

◆ first_packet

int HLSContext::first_packet

Definition at line 219 of file hls.c.

◆ first_timestamp

int64_t HLSContext::first_timestamp

Definition at line 220 of file hls.c.

◆ cur_timestamp

int64_t HLSContext::cur_timestamp

Definition at line 221 of file hls.c.

◆ interrupt_callback

AVIOInterruptCB* HLSContext::interrupt_callback

Definition at line 222 of file hls.c.

◆ avio_opts

AVDictionary* HLSContext::avio_opts

Definition at line 223 of file hls.c.

◆ seg_format_opts

AVDictionary* HLSContext::seg_format_opts

Definition at line 224 of file hls.c.

◆ allowed_extensions

char* HLSContext::allowed_extensions

Definition at line 225 of file hls.c.

◆ max_reload

int HLSContext::max_reload

Definition at line 226 of file hls.c.

◆ http_persistent

int HLSContext::http_persistent

Definition at line 227 of file hls.c.

Referenced by hls_mux_init(), hlsenc_io_close(), and hlsenc_io_open().

◆ http_multiple

int HLSContext::http_multiple

Definition at line 228 of file hls.c.

◆ http_seekable

int HLSContext::http_seekable

Definition at line 229 of file hls.c.

◆ seg_max_retry

int HLSContext::seg_max_retry

Definition at line 230 of file hls.c.

◆ playlist_pb

AVIOContext* HLSContext::playlist_pb

Definition at line 231 of file hls.c.

◆ crypto_ctx

HLSCryptoContext HLSContext::crypto_ctx

Definition at line 232 of file hls.c.

◆ class [2/2]

const AVClass* HLSContext::class

Definition at line 201 of file hlsenc.c.

◆ start_sequence

int64_t HLSContext::start_sequence

Definition at line 202 of file hlsenc.c.

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

◆ start_sequence_source_type

uint32_t HLSContext::start_sequence_source_type

Definition at line 203 of file hlsenc.c.

Referenced by hls_init().

◆ time

int64_t HLSContext::time

Definition at line 205 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

◆ init_time

int64_t HLSContext::init_time

Definition at line 206 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

◆ max_nb_segments

int HLSContext::max_nb_segments

Definition at line 207 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_init().

◆ hls_delete_threshold

int HLSContext::hls_delete_threshold

Definition at line 208 of file hlsenc.c.

Referenced by hls_delete_old_segments().

◆ flags

uint32_t HLSContext::flags

◆ pl_type

uint32_t HLSContext::pl_type

Definition at line 210 of file hlsenc.c.

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

◆ segment_filename

char* HLSContext::segment_filename

Definition at line 211 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and hls_init().

◆ fmp4_init_filename

char* HLSContext::fmp4_init_filename

Definition at line 212 of file hlsenc.c.

Referenced by hls_init(), and hls_init_file_resend().

◆ segment_type

int HLSContext::segment_type

◆ resend_init_file

int HLSContext::resend_init_file

resend init file into disk after refresh m3u8

Definition at line 214 of file hlsenc.c.

Referenced by hls_deinit(), and hls_write_packet().

◆ use_localtime

int HLSContext::use_localtime

flag to expand filename with localtime

Definition at line 216 of file hlsenc.c.

Referenced by hls_init().

◆ use_localtime_mkdir

int HLSContext::use_localtime_mkdir

flag to mkdir dirname in timebased filename

Definition at line 217 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_delete_old_segments().

◆ allowcache

int HLSContext::allowcache

Definition at line 218 of file hlsenc.c.

Referenced by hls_window().

◆ recording_time

int64_t HLSContext::recording_time

Definition at line 219 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

◆ max_seg_size

int64_t HLSContext::max_seg_size

◆ baseurl

char* HLSContext::baseurl

Definition at line 222 of file hlsenc.c.

Referenced by hls_window().

◆ vtt_format_options_str

char* HLSContext::vtt_format_options_str

Definition at line 223 of file hlsenc.c.

◆ subtitle_filename

char* HLSContext::subtitle_filename

Definition at line 224 of file hlsenc.c.

Referenced by hls_init().

◆ format_options

AVDictionary* HLSContext::format_options

Definition at line 225 of file hlsenc.c.

Referenced by hls_mux_init().

◆ encrypt

int HLSContext::encrypt

◆ key

char* HLSContext::key

Definition at line 228 of file hlsenc.c.

Referenced by do_encrypt().

◆ key_url

char* HLSContext::key_url

Definition at line 229 of file hlsenc.c.

Referenced by do_encrypt().

◆ iv

char* HLSContext::iv

Definition at line 230 of file hlsenc.c.

Referenced by do_encrypt().

◆ key_basename

char* HLSContext::key_basename

Definition at line 231 of file hlsenc.c.

Referenced by do_encrypt(), and hls_deinit().

◆ encrypt_started

int HLSContext::encrypt_started

Definition at line 232 of file hlsenc.c.

◆ key_info_file

char* HLSContext::key_info_file

◆ key_file

char HLSContext::key_file[LINE_BUFFER_SIZE+1]

Definition at line 235 of file hlsenc.c.

Referenced by do_encrypt().

◆ key_uri

char HLSContext::key_uri[LINE_BUFFER_SIZE+1]

Definition at line 236 of file hlsenc.c.

Referenced by do_encrypt().

◆ key_string

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

Definition at line 237 of file hlsenc.c.

Referenced by do_encrypt().

◆ iv_string

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

Definition at line 238 of file hlsenc.c.

Referenced by do_encrypt().

◆ vtt_format_options

AVDictionary* HLSContext::vtt_format_options

Definition at line 239 of file hlsenc.c.

◆ method

char* HLSContext::method

Definition at line 241 of file hlsenc.c.

Referenced by hls_delete_file(), and hls_init().

◆ user_agent

char* HLSContext::user_agent

Definition at line 242 of file hlsenc.c.

◆ var_streams

VariantStream* HLSContext::var_streams

◆ nb_varstreams

unsigned int HLSContext::nb_varstreams

◆ cc_streams

ClosedCaptionsStream* HLSContext::cc_streams

◆ nb_ccstreams

unsigned int HLSContext::nb_ccstreams

◆ master_m3u8_created

int HLSContext::master_m3u8_created

Definition at line 249 of file hlsenc.c.

Referenced by create_master_playlist().

◆ master_m3u8_url

char* HLSContext::master_m3u8_url

Definition at line 250 of file hlsenc.c.

Referenced by create_master_playlist(), do_encrypt(), hls_deinit(), and update_master_pl_info().

◆ version

int HLSContext::version

Definition at line 251 of file hlsenc.c.

Referenced by create_master_playlist(), and hls_window().

◆ var_stream_map

char* HLSContext::var_stream_map

Definition at line 252 of file hlsenc.c.

Referenced by parse_variant_stream_mapstring(), and update_variant_stream_info().

◆ cc_stream_map

char* HLSContext::cc_stream_map

Definition at line 253 of file hlsenc.c.

Referenced by parse_cc_stream_mapstring(), and update_variant_stream_info().

◆ master_pl_name

char* HLSContext::master_pl_name

Definition at line 254 of file hlsenc.c.

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

◆ master_publish_rate

unsigned int HLSContext::master_publish_rate

Definition at line 255 of file hlsenc.c.

Referenced by create_master_playlist().

◆ m3u8_out

AVIOContext* HLSContext::m3u8_out

Definition at line 257 of file hlsenc.c.

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

◆ sub_m3u8_out

AVIOContext* HLSContext::sub_m3u8_out

Definition at line 258 of file hlsenc.c.

Referenced by hls_deinit(), and hls_window().

◆ http_delete

AVIOContext* HLSContext::http_delete

Definition at line 259 of file hlsenc.c.

Referenced by hls_deinit(), and hls_delete_file().

◆ timeout

int64_t HLSContext::timeout

Definition at line 260 of file hlsenc.c.

◆ ignore_io_errors

int HLSContext::ignore_io_errors

Definition at line 261 of file hlsenc.c.

Referenced by hls_delete_file(), and hls_write_packet().

◆ headers

char* HLSContext::headers

Definition at line 262 of file hlsenc.c.

◆ has_default_key

int HLSContext::has_default_key

Definition at line 263 of file hlsenc.c.

Referenced by create_master_playlist(), hls_init(), and parse_variant_stream_mapstring().

◆ has_video_m3u8

int HLSContext::has_video_m3u8

Definition at line 264 of file hlsenc.c.

Referenced by create_master_playlist(), hls_init(), and parse_variant_stream_mapstring().

◆ playlisturl

char HLSContext::playlisturl[MAX_URL_SIZE]

Definition at line 58 of file hlsproto.c.

◆ target_duration

int64_t HLSContext::target_duration

Definition at line 59 of file hlsproto.c.

◆ start_seq_no

int HLSContext::start_seq_no

Definition at line 60 of file hlsproto.c.

◆ finished

int HLSContext::finished

Definition at line 61 of file hlsproto.c.

◆ n_segments

int HLSContext::n_segments

Definition at line 62 of file hlsproto.c.

◆ segments

struct segment** HLSContext::segments

Definition at line 63 of file hlsproto.c.

◆ cur_seq_no [2/2]

int HLSContext::cur_seq_no

Definition at line 66 of file hlsproto.c.

◆ seg_hd

URLContext* HLSContext::seg_hd

Definition at line 67 of file hlsproto.c.

◆ last_load_time

int64_t HLSContext::last_load_time

Definition at line 68 of file hlsproto.c.


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