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

Data Fields

int n_variants
 
struct variant ** variants
 
int n_playlists
 
struct playlist ** playlists
 
int n_renditions
 
struct rendition ** renditions
 
int cur_seq_no
 
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
 
char * cookies
 holds HTTP cookie values set in either the initial response or as an AVOption to the HTTP protocol context
 
char * headers
 holds HTTP headers set as an AVOption to the HTTP protocol context
 
const AVClassclass
 
unsigned number
 
int64_t sequence
 
int64_t start_sequence
 
AVOutputFormatoformat
 
AVFormatContextavf
 
float time
 
int max_nb_segments
 
int wrap
 
uint32_t flags
 
char * segment_filename
 
int allowcache
 
int64_t recording_time
 
int has_video
 
int64_t start_pts
 
int64_t end_pts
 
double duration
 
int64_t start_pos
 
int64_t size
 
int nb_entries
 
HLSSegmentsegments
 
HLSSegmentlast_segment
 
HLSSegmentold_segments
 
char * basename
 
char * baseurl
 
char * format_options_str
 
AVDictionaryformat_options
 
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 167 of file hls.c.

Field Documentation

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

Definition at line 172 of file hls.c.

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

struct rendition** HLSContext::renditions

Definition at line 173 of file hls.c.

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

int HLSContext::cur_seq_no

Definition at line 175 of file hls.c.

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

int HLSContext::first_packet

Definition at line 176 of file hls.c.

Referenced by hls_read_packet(), and select_cur_seq_no().

int64_t HLSContext::first_timestamp

Definition at line 177 of file hls.c.

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

int64_t HLSContext::cur_timestamp

Definition at line 178 of file hls.c.

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

AVIOInterruptCB* HLSContext::interrupt_callback

Definition at line 179 of file hls.c.

Referenced by parse_playlist(), and read_data().

char* HLSContext::user_agent

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

Definition at line 180 of file hls.c.

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

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 181 of file hls.c.

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

char* HLSContext::headers

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

Definition at line 182 of file hls.c.

Referenced by open_input(), and parse_playlist().

const AVClass* HLSContext::class

Definition at line 56 of file hlsenc.c.

unsigned HLSContext::number

Definition at line 57 of file hlsenc.c.

Referenced by hls_start(), and hls_write_packet().

int64_t HLSContext::sequence

Definition at line 58 of file hlsenc.c.

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

int64_t HLSContext::start_sequence

Definition at line 59 of file hlsenc.c.

Referenced by hls_window(), and hls_write_header().

AVOutputFormat* HLSContext::oformat

Definition at line 60 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

AVFormatContext* HLSContext::avf
float HLSContext::time

Definition at line 64 of file hlsenc.c.

Referenced by hls_write_header().

int HLSContext::max_nb_segments

Definition at line 65 of file hlsenc.c.

Referenced by hls_append_segment().

int HLSContext::wrap

Definition at line 66 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_start().

uint32_t HLSContext::flags
char* HLSContext::segment_filename

Definition at line 68 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and hls_write_header().

int HLSContext::allowcache

Definition at line 70 of file hlsenc.c.

Referenced by hls_window().

int64_t HLSContext::recording_time

Definition at line 71 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int HLSContext::has_video

Definition at line 72 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int64_t HLSContext::start_pts

Definition at line 73 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int64_t HLSContext::end_pts

Definition at line 74 of file hlsenc.c.

Referenced by hls_write_packet().

double HLSContext::duration

Definition at line 75 of file hlsenc.c.

Referenced by hls_write_packet(), and hls_write_trailer().

int64_t HLSContext::start_pos

Definition at line 76 of file hlsenc.c.

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

int64_t HLSContext::size

Definition at line 77 of file hlsenc.c.

Referenced by hls_write_packet(), and hls_write_trailer().

int HLSContext::nb_entries

Definition at line 78 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_window().

HLSSegment* HLSContext::segments
HLSSegment* HLSContext::last_segment

Definition at line 81 of file hlsenc.c.

Referenced by hls_append_segment().

HLSSegment* HLSContext::old_segments

Definition at line 82 of file hlsenc.c.

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

char* HLSContext::basename

Definition at line 84 of file hlsenc.c.

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

char* HLSContext::baseurl

Definition at line 85 of file hlsenc.c.

Referenced by hls_window().

char* HLSContext::format_options_str

Definition at line 86 of file hlsenc.c.

Referenced by hls_write_header().

AVDictionary* HLSContext::format_options

Definition at line 87 of file hlsenc.c.

Referenced by hls_write_header().

char HLSContext::playlisturl[MAX_URL_SIZE]

Definition at line 58 of file hlsproto.c.

Referenced by hls_open(), and hls_read().

int64_t HLSContext::target_duration

Definition at line 59 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().

int HLSContext::start_seq_no

Definition at line 60 of file hlsproto.c.

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

int HLSContext::finished

Definition at line 61 of file hlsproto.c.

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

int HLSContext::n_segments

Definition at line 62 of file hlsproto.c.

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

struct segment** HLSContext::segments

Definition at line 63 of file hlsproto.c.

URLContext* HLSContext::seg_hd

Definition at line 67 of file hlsproto.c.

Referenced by hls_close(), and hls_read().

int64_t HLSContext::last_load_time

Definition at line 68 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().


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