FFmpeg  3.3.6
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
 
char * user_agent
 holds HTTP user agent set as an AVOption to the HTTP protocol context More...
 
char * cookies
 holds HTTP cookie values set in either the initial response or as an AVOption to the HTTP protocol context More...
 
char * headers
 holds HTTP headers set as an AVOption to the HTTP protocol context More...
 
char * http_proxy
 holds the address of the HTTP proxy server More...
 
AVDictionaryavio_opts
 
int strict_std_compliance
 
char * allowed_extensions
 
int max_reload
 
const AVClassclass
 
unsigned number
 
int64_t sequence
 
int64_t start_sequence
 
uint32_t start_sequence_source_type
 
AVOutputFormatoformat
 
AVOutputFormatvtt_oformat
 
AVFormatContextavf
 
AVFormatContextvtt_avf
 
float time
 
float init_time
 
int max_nb_segments
 
uint32_t flags
 
uint32_t pl_type
 
char * segment_filename
 
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
 
int has_video
 
int has_subtitle
 
int new_start
 
double dpp
 
int64_t start_pts
 
int64_t end_pts
 
double duration
 
int64_t start_pos
 
int64_t size
 
int64_t max_seg_size
 
int nb_entries
 
int discontinuity_set
 
int discontinuity
 
HLSSegmentsegments
 
HLSSegmentlast_segment
 
HLSSegmentold_segments
 
char * basename
 
char * vtt_basename
 
char * vtt_m3u8_name
 
char * baseurl
 
char * format_options_str
 
char * vtt_format_options_str
 
char * subtitle_filename
 
AVDictionaryformat_options
 
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
 
double initial_prog_date_time
 
char current_segment_final_filename_fmt [1024]
 
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 185 of file hls.c.

Field Documentation

◆ class [1/2]

AVClass* HLSContext::class

Definition at line 186 of file hls.c.

◆ ctx

AVFormatContext* HLSContext::ctx

Definition at line 187 of file hls.c.

Referenced by free_playlist_list(), and parse_playlist().

◆ n_variants

int HLSContext::n_variants

◆ variants

struct variant ** HLSContext::variants

◆ n_playlists

int HLSContext::n_playlists

◆ playlists

struct playlist** HLSContext::playlists

◆ n_renditions

int HLSContext::n_renditions

Definition at line 192 of file hls.c.

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

◆ renditions

struct rendition** HLSContext::renditions

Definition at line 193 of file hls.c.

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

◆ cur_seq_no

int HLSContext::cur_seq_no

Definition at line 195 of file hls.c.

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

◆ live_start_index

int HLSContext::live_start_index

Definition at line 196 of file hls.c.

Referenced by select_cur_seq_no().

◆ first_packet

int HLSContext::first_packet

Definition at line 197 of file hls.c.

Referenced by hls_read_packet(), and select_cur_seq_no().

◆ first_timestamp

int64_t HLSContext::first_timestamp

Definition at line 198 of file hls.c.

Referenced by find_timestamp_in_playlist(), hls_read_packet(), and hls_read_seek().

◆ cur_timestamp

int64_t HLSContext::cur_timestamp

Definition at line 199 of file hls.c.

Referenced by hls_read_packet(), hls_read_seek(), recheck_discard_flags(), and select_cur_seq_no().

◆ interrupt_callback

AVIOInterruptCB* HLSContext::interrupt_callback

Definition at line 200 of file hls.c.

Referenced by read_data().

◆ user_agent

char* HLSContext::user_agent

holds HTTP user agent set as an AVOption to the HTTP protocol context

Definition at line 201 of file hls.c.

Referenced by free_playlist_list(), open_input(), and parse_playlist().

◆ cookies

char* HLSContext::cookies

holds HTTP cookie values set in either the initial response or as an AVOption to the HTTP protocol context

Definition at line 202 of file hls.c.

Referenced by free_playlist_list(), open_input(), open_url(), and parse_playlist().

◆ headers

char* HLSContext::headers

holds HTTP headers set as an AVOption to the HTTP protocol context

Definition at line 203 of file hls.c.

Referenced by free_playlist_list(), open_input(), and parse_playlist().

◆ http_proxy

char* HLSContext::http_proxy

holds the address of the HTTP proxy server

Definition at line 204 of file hls.c.

Referenced by free_playlist_list(), open_input(), and parse_playlist().

◆ avio_opts

AVDictionary* HLSContext::avio_opts

Definition at line 205 of file hls.c.

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

◆ strict_std_compliance

int HLSContext::strict_std_compliance

Definition at line 206 of file hls.c.

Referenced by new_rendition().

◆ allowed_extensions

char* HLSContext::allowed_extensions

Definition at line 207 of file hls.c.

Referenced by open_url().

◆ max_reload

int HLSContext::max_reload

Definition at line 208 of file hls.c.

Referenced by read_data().

◆ class [2/2]

const AVClass* HLSContext::class

Definition at line 90 of file hlsenc.c.

◆ number

unsigned HLSContext::number

Definition at line 91 of file hlsenc.c.

Referenced by hls_start(), and hls_write_packet().

◆ sequence

int64_t HLSContext::sequence

◆ start_sequence

int64_t HLSContext::start_sequence

Definition at line 93 of file hlsenc.c.

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

◆ start_sequence_source_type

uint32_t HLSContext::start_sequence_source_type

Definition at line 94 of file hlsenc.c.

Referenced by hls_write_header().

◆ oformat

AVOutputFormat* HLSContext::oformat

Definition at line 95 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

◆ vtt_oformat

AVOutputFormat* HLSContext::vtt_oformat

Definition at line 96 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

◆ avf

AVFormatContext* HLSContext::avf

◆ vtt_avf

AVFormatContext* HLSContext::vtt_avf

◆ time

float HLSContext::time

Definition at line 101 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

◆ init_time

float HLSContext::init_time

Definition at line 102 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

◆ max_nb_segments

int HLSContext::max_nb_segments

Definition at line 103 of file hlsenc.c.

Referenced by hls_append_segment().

◆ flags

uint32_t HLSContext::flags

◆ pl_type

uint32_t HLSContext::pl_type

Definition at line 108 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_window().

◆ segment_filename

char* HLSContext::segment_filename

Definition at line 109 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and hls_write_header().

◆ use_localtime

int HLSContext::use_localtime

flag to expand filename with localtime

Definition at line 111 of file hlsenc.c.

Referenced by hls_start(), and hls_write_header().

◆ use_localtime_mkdir

int HLSContext::use_localtime_mkdir

flag to mkdir dirname in timebased filename

Definition at line 112 of file hlsenc.c.

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

◆ allowcache

int HLSContext::allowcache

Definition at line 113 of file hlsenc.c.

Referenced by write_m3u8_head_block().

◆ recording_time

int64_t HLSContext::recording_time

Definition at line 114 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

◆ has_video

int HLSContext::has_video

Definition at line 115 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

◆ has_subtitle

int HLSContext::has_subtitle

Definition at line 116 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_write_header().

◆ new_start

int HLSContext::new_start

Definition at line 117 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

◆ dpp

double HLSContext::dpp

Definition at line 118 of file hlsenc.c.

Referenced by hls_write_packet(), and hls_write_trailer().

◆ start_pts

int64_t HLSContext::start_pts

Definition at line 119 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

◆ end_pts

int64_t HLSContext::end_pts

Definition at line 120 of file hlsenc.c.

Referenced by hls_write_packet().

◆ duration

double HLSContext::duration

Definition at line 121 of file hlsenc.c.

Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().

◆ start_pos

int64_t HLSContext::start_pos

Definition at line 122 of file hlsenc.c.

Referenced by hls_mux_init(), hls_write_packet(), hls_write_trailer(), and parse_playlist().

◆ size

int64_t HLSContext::size

Definition at line 123 of file hlsenc.c.

Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().

◆ max_seg_size

int64_t HLSContext::max_seg_size

◆ nb_entries

int HLSContext::nb_entries

Definition at line 125 of file hlsenc.c.

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

◆ discontinuity_set

int HLSContext::discontinuity_set

Definition at line 126 of file hlsenc.c.

Referenced by hls_window().

◆ discontinuity

int HLSContext::discontinuity

Definition at line 127 of file hlsenc.c.

Referenced by hls_append_segment(), hls_write_header(), and parse_playlist().

◆ segments [1/2]

HLSSegment* HLSContext::segments

◆ last_segment

HLSSegment* HLSContext::last_segment

Definition at line 130 of file hlsenc.c.

Referenced by hls_append_segment().

◆ old_segments

HLSSegment* HLSContext::old_segments

Definition at line 131 of file hlsenc.c.

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

◆ basename

char* HLSContext::basename

◆ vtt_basename

char* HLSContext::vtt_basename

Definition at line 134 of file hlsenc.c.

Referenced by hls_start(), hls_write_header(), and hls_write_trailer().

◆ vtt_m3u8_name

char* HLSContext::vtt_m3u8_name

Definition at line 135 of file hlsenc.c.

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

◆ baseurl

char* HLSContext::baseurl

Definition at line 136 of file hlsenc.c.

Referenced by hls_window().

◆ format_options_str

char* HLSContext::format_options_str

Definition at line 137 of file hlsenc.c.

Referenced by hls_write_header().

◆ vtt_format_options_str

char* HLSContext::vtt_format_options_str

Definition at line 138 of file hlsenc.c.

◆ subtitle_filename

char* HLSContext::subtitle_filename

Definition at line 139 of file hlsenc.c.

Referenced by hls_write_header().

◆ format_options

AVDictionary* HLSContext::format_options

Definition at line 140 of file hlsenc.c.

Referenced by hls_write_header().

◆ key_info_file

char* HLSContext::key_info_file

Definition at line 142 of file hlsenc.c.

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

◆ key_file

char HLSContext::key_file[LINE_BUFFER_SIZE+1]

Definition at line 143 of file hlsenc.c.

Referenced by hls_encryption_start().

◆ key_uri

char HLSContext::key_uri[LINE_BUFFER_SIZE+1]

Definition at line 144 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_encryption_start().

◆ key_string

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

Definition at line 145 of file hlsenc.c.

Referenced by hls_encryption_start(), and hls_start().

◆ iv_string

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

Definition at line 146 of file hlsenc.c.

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

◆ vtt_format_options

AVDictionary* HLSContext::vtt_format_options

Definition at line 147 of file hlsenc.c.

◆ method

char* HLSContext::method

Definition at line 149 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and set_http_options().

◆ initial_prog_date_time

double HLSContext::initial_prog_date_time

Definition at line 151 of file hlsenc.c.

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

◆ current_segment_final_filename_fmt

char HLSContext::current_segment_final_filename_fmt[1024]

◆ playlisturl

char HLSContext::playlisturl[MAX_URL_SIZE]

Definition at line 59 of file hlsproto.c.

Referenced by hls_open(), and hls_read().

◆ target_duration

int64_t HLSContext::target_duration

Definition at line 60 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().

◆ start_seq_no

int HLSContext::start_seq_no

Definition at line 61 of file hlsproto.c.

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

◆ finished

int HLSContext::finished

Definition at line 62 of file hlsproto.c.

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

◆ n_segments

int HLSContext::n_segments

Definition at line 63 of file hlsproto.c.

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

◆ segments [2/2]

struct segment** HLSContext::segments

Definition at line 64 of file hlsproto.c.

◆ seg_hd

URLContext* HLSContext::seg_hd

Definition at line 68 of file hlsproto.c.

Referenced by hls_close(), and hls_read().

◆ last_load_time

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: