kb_machblue_tv_vod.c
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:3k
- //*****************************************************************************
- //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;
- }