libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
GF_DownloadSession Struct Reference

Data Fields

u32 reserved
 
struct __gf_download_managerdm
 
GF_Thread * th
 
GF_Mutex * mx
 
GF_SessTaskftask
 
Bool in_callback
 
Bool destroy
 
u32 proxy_enabled
 
Bool allow_direct_reuse
 
char * server_name
 
u16 port
 
char * orig_url
 
char * orig_url_before_redirect
 
char * remote_path
 
GF_UserCredentialscreds
 
char cookie [GF_MAX_PATH]
 
DownloadedCacheEntry cache_entry
 
Bool reused_cache_entry
 
Bool from_cache_only
 
char * mime_type
 
GF_List * headers
 
GF_Socket * sock
 
u32 num_retry
 
GF_NetIOStatus status
 
u32 flags
 
u32 total_size
 
u32 bytes_done
 
u32 icy_metaint
 
u32 icy_count
 
u32 icy_bytes
 
u64 start_time
 
u32 bytes_per_sec
 
u64 start_time_utc
 
Bool last_chunk_found
 
Bool connection_close
 
Bool is_range_continuation
 
u32 needs_cache_reconfig
 
Bool needs_range
 
u64 range_start
 
u64 range_end
 
u32 connect_time
 
u32 ssl_setup_time
 
u32 reply_time
 
u32 total_time_since_req
 
u32 req_hdr_size
 
u32 rsp_hdr_size
 
enum REQUEST_TYPE http_read_type
 
GF_Err last_error
 
char * init_data
 
u32 init_data_size
 
Bool server_only_understand_get
 
Bool use_cache_file
 
Bool disable_cache
 
Bool force_data_write_callback
 
u32 connect_pending
 
void(* do_requests )(struct __gf_download_session *)
 
gf_dm_user_io user_proc
 
void * usr_cbk
 
Bool reassigned
 
Bool chunked
 
u32 nb_left_in_chunk
 
u32 current_chunk_size
 
u64 current_chunk_start
 
u64 request_start_time
 
u64 last_fetch_time
 
void * ext
 
char * remaining_data
 
u32 remaining_data_size
 
u32 conn_timeout
 
u32 request_timeout
 
Bool local_cache_only
 
Bool server_mode
 
u32 put_state
 
u64 last_cap_rate_time
 
u64 last_cap_rate_bytes
 
u32 last_cap_rate_bytes_per_sec
 
u64 last_chunk_start_time
 
u32 chunk_wnd_dur
 
u32 chunk_bytes
 
u32 chunk_header_bytes
 
u32 cumulated_chunk_header_bytes
 
Double cumulated_chunk_rate
 
u32 connection_timeout_ms
 
u8async_req_reply
 
u32 async_req_reply_size
 
u8async_buf
 
u32 async_buf_size
 
u32 async_buf_alloc
 
GF_SockGroup * sock_group
 

Detailed Description

the download manager session.

Field Documentation

◆ reserved

u32 GF_DownloadSession::reserved

◆ dm

struct __gf_download_manager* GF_DownloadSession::dm

◆ th

GF_Thread* GF_DownloadSession::th

◆ mx

GF_Mutex* GF_DownloadSession::mx

◆ ftask

GF_SessTask* GF_DownloadSession::ftask

◆ in_callback

Bool GF_DownloadSession::in_callback

◆ destroy

Bool GF_DownloadSession::destroy

◆ proxy_enabled

u32 GF_DownloadSession::proxy_enabled

◆ allow_direct_reuse

Bool GF_DownloadSession::allow_direct_reuse

◆ server_name

char* GF_DownloadSession::server_name

◆ port

u16 GF_DownloadSession::port

◆ orig_url

char* GF_DownloadSession::orig_url

◆ orig_url_before_redirect

char* GF_DownloadSession::orig_url_before_redirect

◆ remote_path

char* GF_DownloadSession::remote_path

◆ creds

GF_UserCredentials* GF_DownloadSession::creds

◆ cookie

char GF_DownloadSession::cookie[GF_MAX_PATH]

◆ cache_entry

DownloadedCacheEntry GF_DownloadSession::cache_entry

◆ reused_cache_entry

Bool GF_DownloadSession::reused_cache_entry

◆ from_cache_only

Bool GF_DownloadSession::from_cache_only

◆ mime_type

char* GF_DownloadSession::mime_type

◆ headers

GF_List* GF_DownloadSession::headers

◆ sock

GF_Socket* GF_DownloadSession::sock

◆ num_retry

u32 GF_DownloadSession::num_retry

◆ status

GF_NetIOStatus GF_DownloadSession::status

◆ flags

u32 GF_DownloadSession::flags

◆ total_size

u32 GF_DownloadSession::total_size

◆ bytes_done

u32 GF_DownloadSession::bytes_done

◆ icy_metaint

u32 GF_DownloadSession::icy_metaint

◆ icy_count

u32 GF_DownloadSession::icy_count

◆ icy_bytes

u32 GF_DownloadSession::icy_bytes

◆ start_time

u64 GF_DownloadSession::start_time

◆ bytes_per_sec

u32 GF_DownloadSession::bytes_per_sec

◆ start_time_utc

u64 GF_DownloadSession::start_time_utc

◆ last_chunk_found

Bool GF_DownloadSession::last_chunk_found

◆ connection_close

Bool GF_DownloadSession::connection_close

◆ is_range_continuation

Bool GF_DownloadSession::is_range_continuation

◆ needs_cache_reconfig

u32 GF_DownloadSession::needs_cache_reconfig

◆ needs_range

Bool GF_DownloadSession::needs_range

◆ range_start

u64 GF_DownloadSession::range_start

◆ range_end

u64 GF_DownloadSession::range_end

◆ connect_time

u32 GF_DownloadSession::connect_time

◆ ssl_setup_time

u32 GF_DownloadSession::ssl_setup_time

◆ reply_time

u32 GF_DownloadSession::reply_time

◆ total_time_since_req

u32 GF_DownloadSession::total_time_since_req

◆ req_hdr_size

u32 GF_DownloadSession::req_hdr_size

◆ rsp_hdr_size

u32 GF_DownloadSession::rsp_hdr_size

◆ http_read_type

enum REQUEST_TYPE GF_DownloadSession::http_read_type

◆ last_error

GF_Err GF_DownloadSession::last_error

◆ init_data

char* GF_DownloadSession::init_data

◆ init_data_size

u32 GF_DownloadSession::init_data_size

◆ server_only_understand_get

Bool GF_DownloadSession::server_only_understand_get

◆ use_cache_file

Bool GF_DownloadSession::use_cache_file

◆ disable_cache

Bool GF_DownloadSession::disable_cache

◆ force_data_write_callback

Bool GF_DownloadSession::force_data_write_callback

◆ connect_pending

u32 GF_DownloadSession::connect_pending

◆ do_requests

void(* GF_DownloadSession::do_requests) (struct __gf_download_session *)

◆ user_proc

gf_dm_user_io GF_DownloadSession::user_proc

◆ usr_cbk

void* GF_DownloadSession::usr_cbk

◆ reassigned

Bool GF_DownloadSession::reassigned

◆ chunked

Bool GF_DownloadSession::chunked

◆ nb_left_in_chunk

u32 GF_DownloadSession::nb_left_in_chunk

◆ current_chunk_size

u32 GF_DownloadSession::current_chunk_size

◆ current_chunk_start

u64 GF_DownloadSession::current_chunk_start

◆ request_start_time

u64 GF_DownloadSession::request_start_time

◆ last_fetch_time

u64 GF_DownloadSession::last_fetch_time

◆ ext

void* GF_DownloadSession::ext

◆ remaining_data

char* GF_DownloadSession::remaining_data

◆ remaining_data_size

u32 GF_DownloadSession::remaining_data_size

◆ conn_timeout

u32 GF_DownloadSession::conn_timeout

◆ request_timeout

u32 GF_DownloadSession::request_timeout

◆ local_cache_only

Bool GF_DownloadSession::local_cache_only

◆ server_mode

Bool GF_DownloadSession::server_mode

◆ put_state

u32 GF_DownloadSession::put_state

◆ last_cap_rate_time

u64 GF_DownloadSession::last_cap_rate_time

◆ last_cap_rate_bytes

u64 GF_DownloadSession::last_cap_rate_bytes

◆ last_cap_rate_bytes_per_sec

u32 GF_DownloadSession::last_cap_rate_bytes_per_sec

◆ last_chunk_start_time

u64 GF_DownloadSession::last_chunk_start_time

◆ chunk_wnd_dur

u32 GF_DownloadSession::chunk_wnd_dur

◆ chunk_bytes

u32 GF_DownloadSession::chunk_bytes

◆ chunk_header_bytes

u32 GF_DownloadSession::chunk_header_bytes

◆ cumulated_chunk_header_bytes

u32 GF_DownloadSession::cumulated_chunk_header_bytes

◆ cumulated_chunk_rate

Double GF_DownloadSession::cumulated_chunk_rate

◆ connection_timeout_ms

u32 GF_DownloadSession::connection_timeout_ms

◆ async_req_reply

u8* GF_DownloadSession::async_req_reply

◆ async_req_reply_size

u32 GF_DownloadSession::async_req_reply_size

◆ async_buf

u8* GF_DownloadSession::async_buf

◆ async_buf_size

u32 GF_DownloadSession::async_buf_size

◆ async_buf_alloc

u32 GF_DownloadSession::async_buf_alloc

◆ sock_group

GF_SockGroup* GF_DownloadSession::sock_group