Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
kb_machblue_tv_vod.c
Package: ST_5105DTV.rar [view]
Upload User: fy98168
Upload Date: 2015-06-26
Package Size: 13771k
Code Size: 3k
Category:
DVD
Development Platform:
C/C++
- //*****************************************************************************
- //File Name: kb_machblue_tv_vod.c
- //
- //Description: vod function
- //
- // used by Machblue DVB Player to establish VOD sessions
- //
- //Author: steven
- //
- //Date: 2007.01.20
- //
- //Version: v1.0
- //*****************************************************************************
- #include "machblue_defines.h"
- #include "machblue_porting_core.h"
- #include "machblue_tv_defines.h"
- #include "machblue_tv_customer.h"
- #include "machblue_tv_porting.h"
- #include "kb_machblue_client_data.h"
- #include "kb_machblue_client_define.h"
- /**
- * This function setups a vod session.
- * This function is ASYNCHRONOUS. The system should send an
- * MB_TV_NR_VOD_SESSION_CONNECTED or an MB_TV_NR_VOD_SESSION_ERROR
- * notification once the request is completed.
- * @see MB_TV_NR_VOD_SESSION_CONNECTED
- * @see MB_TV_NR_VOD_SESSION_ERROR
- * asset_id < id of the vod asset to launch in vod session >
- * server_name < vod server to connect to >
- * private_data < system dependent private data to send with session setup request >
- * session < pointer to newly created session to update >
- * @return MB_SUCCESS on success MB_FAILURE otherwise.
- */
- mb_error_t mb_tv_vod_session_setup(const mb_char_t *asset_id,const mb_char_t *server_name,
- const mb_char_t *private_data,mb_tv_vod_session_t *session)
- {
- return MB_SUCCESS;
- }
- /**
- * This function releases a vod session. All objects associated to the
- * session including its service object will be deleted.
- * This function is ASYNCHRONOUS. The system should send an
- * MB_TV_NR_VOD_SESSION_DISCONNECTED notification once the request is
- * completed.
- * @see MB_TV_NR_VOD_SESSION_DISCONNECTED
- * session < vod session to delete >
- * @return MB_SUCCESS on success MB_FAILURE otherwise.
- */
- mb_error_t mb_tv_vod_session_release(mb_tv_vod_session_t session)
- {
- return MB_SUCCESS;
- }
- /**
- * This function gets the service associated to a connected vod session.
- * session < vod session to query >
- * service < pointer to vod service to update >
- * @return MB_SUCCESS on success MB_FAILURE otherwise.
- */
- mb_error_t mb_tv_vod_session_service_get(mb_tv_vod_session_t session,mb_tv_service_t *service)
- {
- return MB_SUCCESS;
- }
- /**
- * This function gets the state of a vod session.
- * session < vod session to query >
- * state < pointer to vod session state to update >
- * @return MB_SUCCESS on success MB_FAILURE otherwise.
- */
- mb_error_t mb_tv_vod_session_state_get(mb_tv_vod_session_t session,mb_tv_vod_session_state_t *state)
- {
- return MB_SUCCESS;
- }