
Defines | |
| #define | MMSH_USER_AGENT "NSPlayer/7.10.0.3059" |
Functions | |
| int | MMSHOpen (access_t *) |
| void | MMSHClose (access_t *) |
| static block_t * | Block (access_t *p_access) |
| static ssize_t | ReadRedirect (access_t *, uint8_t *, size_t) |
| static int | Seek (access_t *, uint64_t) |
| static int | Control (access_t *, int, va_list) |
| static int | Describe (access_t *, char **ppsz_location) |
| static int | Start (access_t *, uint64_t) |
| static void | Stop (access_t *) |
| static int | GetPacket (access_t *, chunk_t *) |
| static void | GetHeader (access_t *p_access, int i_content_length) |
| static int | Restart (access_t *) |
| static int | Reset (access_t *) |
| static int | OpenConnection (access_t *p_access) |
| #define MMSH_USER_AGENT "NSPlayer/7.10.0.3059" |
Referenced by Describe(), and Start().
References __MAX, access_sys_t::asfh, access_sys_t::b_broadcast, access_t::b_eof, block_New, GetPacket(), access_sys_t::i_header, asf_header_t::i_min_data_packet_size, access_sys_t::i_packet_length, access_sys_t::i_packet_used, access_t::i_pos, chunk_t::i_sequence, access_sys_t::i_start, chunk_t::i_type, access_t::info, block_t::p_buffer, access_sys_t::p_header, access_sys_t::p_packet, access_t::p_sys, p_sys, Reset(), and Restart().
| static int Control | ( | access_t * | p_access, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References ACCESS_CAN_CONTROL_PACE, ACCESS_CAN_FASTSEEK, ACCESS_CAN_PAUSE, ACCESS_CAN_SEEK, ACCESS_GET_CONTENT_TYPE, ACCESS_GET_PRIVATE_ID_STATE, ACCESS_GET_PTS_DELAY, ACCESS_GET_TITLE_INFO, ACCESS_SET_PAUSE_STATE, ACCESS_SET_PRIVATE_ID_STATE, ACCESS_SET_SEEKPOINT, ACCESS_SET_TITLE, access_sys_t::asfh, access_sys_t::b_broadcast, access_t::i_pos, asf_stream_t::i_selected, access_t::info, msg_Warn, access_t::p_sys, p_sys, Seek(), Stop(), asf_header_t::stream, var_GetInteger, VLC_EGENERIC, and VLC_SUCCESS.
| static int Describe | ( | access_t * | p_access, | |
| char ** | ppsz_location | |||
| ) | [static] |
References asf_HeaderParse(), asf_StreamSelect(), access_sys_t::asfh, access_sys_t::b_broadcast, access_sys_t::fd, GenerateGuid(), GetHeader(), access_sys_t::guid, GUID_FMT, GUID_PRINT, asf_header_t::i_data_packets_count, access_sys_t::i_header, asf_header_t::i_min_data_packet_size, access_sys_t::i_packet_length, access_sys_t::i_packet_sequence, access_sys_t::i_packet_used, access_sys_t::i_request_context, MMSH_USER_AGENT, msg_Dbg, msg_Err, msg_Warn, net_Close, net_Gets, net_Printf, OpenConnection(), access_sys_t::p_header, access_sys_t::p_packet, access_t::p_sys, p_sys, strcasecmp(), strcasestr(), strdup(), var_InheritBool, var_InheritInteger, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by MMSHOpen(), and Restart().
| static void GetHeader | ( | access_t * | p_access, | |
| int | i_content_length | |||
| ) | [static] |
References GetPacket(), chunk_t::i_data, access_sys_t::i_header, chunk_t::i_size, chunk_t::i_type, msg_Dbg, chunk_t::p_data, access_sys_t::p_header, access_t::p_sys, p_sys, and xrealloc().
Referenced by DelStream(), Describe(), Mux(), and Reset().
References access_sys_t::buffer, access_sys_t::fd, GetDWLE(), GetWLE(), chunk_t::i_data, access_sys_t::i_packet_length, access_sys_t::i_packet_sequence, access_sys_t::i_packet_used, chunk_t::i_sequence, chunk_t::i_size, chunk_t::i_size2, chunk_t::i_type, chunk_t::i_unknown, msg_Err, msg_Warn, net_Read, chunk_t::p_data, access_sys_t::p_packet, access_t::p_sys, p_sys, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Block(), GetHeader(), and Seek().
| void MMSHClose | ( | access_t * | p_access | ) |
| static int OpenConnection | ( | access_t * | p_access | ) | [static] |
References asprintf(), access_sys_t::b_proxy, access_sys_t::fd, vlc_url_t::i_port, msg_Err, net_ConnectTCP, net_Printf, access_t::p_sys, p_sys, access_sys_t::proxy, vlc_url_t::psz_host, vlc_url_t::psz_password, vlc_url_t::psz_path, vlc_url_t::psz_username, access_sys_t::url, vlc_b64_encode(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
Referenced by Describe(), and Start().
| static ssize_t ReadRedirect | ( | access_t * | p_access, | |
| uint8_t * | p, | |||
| size_t | i_len | |||
| ) | [static] |
| static int Reset | ( | access_t * | p_access | ) | [static] |
References asf_HeaderParse(), asf_StreamSelect(), access_sys_t::asfh, GetHeader(), i, asf_stream_t::i_cat, asf_header_t::i_data_packets_count, access_sys_t::i_header, asf_header_t::i_min_data_packet_size, access_sys_t::i_packet_length, access_sys_t::i_packet_sequence, access_sys_t::i_packet_used, access_t::i_pos, asf_stream_t::i_selected, access_sys_t::i_start, access_t::info, msg_Dbg, msg_Warn, access_sys_t::p_header, access_sys_t::p_packet, access_t::p_sys, p_sys, Restart(), asf_header_t::stream, var_InheritBool, var_InheritInteger, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Block(), and DecodeBlock().
| static int Restart | ( | access_t * | p_access | ) | [static] |
References Describe(), access_t::i_pos, access_sys_t::i_start, access_t::info, msg_Dbg, msg_Err, access_t::p_sys, p_sys, Start(), Stop(), VLC_EGENERIC, and VLC_SUCCESS.
| static int Seek | ( | access_t * | p_access, | |
| uint64_t | i_pos | |||
| ) | [static] |
| static int Start | ( | access_t * | p_access, | |
| uint64_t | i_pos | |||
| ) | [static] |
References ASF_STREAM_UNKNOWN, access_sys_t::asfh, access_sys_t::b_broadcast, access_sys_t::fd, access_sys_t::guid, GUID_FMT, GUID_PRINT, i, asf_stream_t::i_cat, access_sys_t::i_packet_length, access_sys_t::i_packet_used, access_sys_t::i_request_context, asf_stream_t::i_selected, MMSH_USER_AGENT, msg_Dbg, msg_Err, net_Gets, net_Printf, OpenConnection(), access_t::p_sys, p_sys, asf_header_t::stream, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Control(), MMSHOpen(), Restart(), and Seek().
| static void Stop | ( | access_t * | p_access | ) | [static] |
References access_sys_t::fd, msg_Dbg, net_Close, access_t::p_sys, and p_sys.
Referenced by Control(), handle_player(), MMSHClose(), Restart(), and Seek().
1.5.6