GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
|
#include <gpac/mpeg4_odf.h>
#include <gpac/events.h>
#include <gpac/download.h>
#include <gpac/module.h>
Data Structures | |
struct | GF_NetComBase |
struct | GF_NetComPlay |
struct | GF_NetComConfig |
struct | GF_NetComBuffer |
struct | GF_NetComDuration |
struct | GF_NetComGetDSI |
struct | GF_NetComPadding |
struct | GF_NetComMapTime |
struct | GF_NetComDRMConfigPSSH |
struct | GF_NetComDRMConfig |
struct | GF_NetComGetESD |
struct | GF_NetComStats |
struct | GF_NetComPixelAR |
struct | GF_NetComInfo |
struct | GF_NetComHasAudio |
struct | GF_NetComMigration |
struct | GF_NetURLQuery |
struct | GF_NetQualitySwitch |
struct | GF_NetServiceStatus |
struct | GF_MediaCapQuery |
union | GF_NetworkCommand |
struct | GF_InputService |
struct | GF_StreamingCache |
Macros | |
#define | GF_NET_CLIENT_INTERFACE GF_4CC('G', 'I', 'S', '1') |
#define | GF_STREAMING_MEDIA_CACHE GF_4CC('G', 'M', 'C', 0x01) |
Typedefs | |
typedef void * | LPNETCHANNEL |
Functions | |
void | gf_term_on_message (GF_ClientService *service, GF_Err error, const char *message) |
void | gf_term_on_connect (GF_ClientService *service, LPNETCHANNEL ns, GF_Err response) |
void | gf_term_on_disconnect (GF_ClientService *service, LPNETCHANNEL ns, GF_Err response) |
void | gf_term_on_command (GF_ClientService *service, GF_NetworkCommand *com, GF_Err response) |
void | gf_term_on_sl_packet (GF_ClientService *service, LPNETCHANNEL ns, char *data, u32 data_size, GF_SLHeader *hdr, GF_Err reception_status) |
const char * | gf_term_get_service_url (GF_ClientService *service) |
void | gf_term_add_media (GF_ClientService *service, GF_Descriptor *media_desc, Bool no_scene_update) |
Bool | gf_term_on_service_event (GF_ClientService *service, GF_Event *service_event) |
Bool | gf_term_check_extension (GF_InputService *ifce, const char *mimeType, const char *extList, const char *description, const char *fileExt) |
void | gf_term_register_mime_type (const GF_InputService *ifce, const char *mimeType, const char *extList, const char *description) |
GF_InputService * | gf_term_get_service_interface (GF_ClientService *service) |
GF_DownloadSession * | gf_term_download_new (GF_ClientService *service, const char *url, u32 flags, gf_dm_user_io user_io, void *cbk) |
void | gf_term_download_del (GF_DownloadSession *dnload) |
void | gf_term_download_update_stats (GF_DownloadSession *sess) |
struct GF_NetComBase |
struct GF_NetComPlay |
struct GF_NetComConfig |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
GF_SLConfig | sl_config | |
u32 | priority | |
u32 | sync_id | |
u32 | frame_duration | |
u32 | sample_rate | |
Bool | use_m2ts_sections |
struct GF_NetComBuffer |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
u32 | min | |
u32 | max | |
u32 | occupancy |
struct GF_NetComDuration |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
Double | duration |
struct GF_NetComGetDSI |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
char * | dsi | |
u32 | dsi_len |
struct GF_NetComPadding |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
u32 | padding_bytes |
struct GF_NetComMapTime |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
Double | media_time | |
u64 | timestamp | |
Bool | reset_buffers |
struct GF_NetComDRMConfigPSSH |
struct GF_NetComDRMConfig |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
u32 | scheme_version | |
u32 | scheme_type | |
const char * | scheme_uri | |
const char * | kms_uri | |
const char * | contentID | |
u32 | oma_drm_crypt_type | |
Bool | oma_drm_use_pad | |
Bool | oma_drm_use_hdr | |
const char * | oma_drm_textual_headers | |
u32 | oma_drm_textual_headers_len | |
u8 | hash[20] | |
u32 | PSSH_count | |
GF_NetComDRMConfigPSSH * | PSSHs |
struct GF_NetComGetESD |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
const GF_ESD * | esd | |
Bool | is_iod_stream |
struct GF_NetComStats |
struct GF_NetComPixelAR |
struct GF_NetComInfo |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
u32 | track_info | |
u32 | genre | |
const char * | album | |
const char * | artist | |
const char * | comment | |
const char * | composer | |
const char * | name | |
const char * | writer |
struct GF_NetComHasAudio |
struct GF_NetComMigration |
struct GF_NetURLQuery |
Data Fields | ||
---|---|---|
u32 | command_type | |
Bool | drop_first_segment | |
u32 | dependent_representation_index | |
const char * | next_url | |
u64 | start_range | |
u64 | end_range | |
u32 | discontinuity_type | |
const char * | next_url_init_or_switch_segment | |
u64 | switch_start_range | |
u64 | switch_end_range | |
Bool | has_next | |
Bool | current_download | |
Bool | has_new_data |
struct GF_NetQualitySwitch |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | on_channel | |
Bool | up |
struct GF_NetServiceStatus |
Data Fields | ||
---|---|---|
u32 | command_type | |
LPNETCHANNEL | channel | |
GF_Err | e | |
Bool | is_disconnect | |
Bool | is_add_media | |
GF_Descriptor * | desc |
struct GF_MediaCapQuery |
union GF_NetworkCommand |
Data Fields | ||
---|---|---|
u32 | command_type | |
GF_NetComBase | base | |
GF_NetComPlay | play | |
GF_NetComConfig | cfg | |
GF_NetComBuffer | buffer | |
GF_NetComDuration | duration | |
GF_NetComGetDSI | get_dsi | |
GF_NetComPadding | pad | |
GF_NetComMapTime | map_time | |
GF_NetComStats | net_stats | |
GF_NetComDRMConfig | drm_cfg | |
GF_NetComGetESD | cache_esd | |
GF_NetComInfo | info | |
GF_NetComPixelAR | par | |
GF_NetComHasAudio | audio | |
GF_NetComMigration | migrate | |
GF_NetURLQuery | url_query | |
GF_NetQualitySwitch | switch_quality | |
GF_NetServiceStatus | status | |
GF_MediaCapQuery | mcaps |
#define GF_STREAMING_MEDIA_CACHE GF_4CC('G', 'M', 'C', 0x01) |
typedef void* LPNETCHANNEL |
enum GF_NET_CHAN_CMD |
void gf_term_on_message | ( | GF_ClientService * | service, |
GF_Err | error, | ||
const char * | message | ||
) |
void gf_term_on_connect | ( | GF_ClientService * | service, |
LPNETCHANNEL | ns, | ||
GF_Err | response | ||
) |
void gf_term_on_disconnect | ( | GF_ClientService * | service, |
LPNETCHANNEL | ns, | ||
GF_Err | response | ||
) |
void gf_term_on_command | ( | GF_ClientService * | service, |
GF_NetworkCommand * | com, | ||
GF_Err | response | ||
) |
void gf_term_on_sl_packet | ( | GF_ClientService * | service, |
LPNETCHANNEL | ns, | ||
char * | data, | ||
u32 | data_size, | ||
GF_SLHeader * | hdr, | ||
GF_Err | reception_status | ||
) |
const char* gf_term_get_service_url | ( | GF_ClientService * | service | ) |
void gf_term_add_media | ( | GF_ClientService * | service, |
GF_Descriptor * | media_desc, | ||
Bool | no_scene_update | ||
) |
Bool gf_term_check_extension | ( | GF_InputService * | ifce, |
const char * | mimeType, | ||
const char * | extList, | ||
const char * | description, | ||
const char * | fileExt | ||
) |
void gf_term_register_mime_type | ( | const GF_InputService * | ifce, |
const char * | mimeType, | ||
const char * | extList, | ||
const char * | description | ||
) |
GF_InputService* gf_term_get_service_interface | ( | GF_ClientService * | service | ) |
GF_DownloadSession* gf_term_download_new | ( | GF_ClientService * | service, |
const char * | url, | ||
u32 | flags, | ||
gf_dm_user_io | user_io, | ||
void * | cbk | ||
) |
void gf_term_download_del | ( | GF_DownloadSession * | dnload | ) |
void gf_term_download_update_stats | ( | GF_DownloadSession * | sess | ) |