DSMCC  15.3.1
source/dscore/src/streamObject.c File Reference

Functions to support Stream Functionality. More...

#include "clDsmSystem.h"
#include "clDsmUtils.h"
#include "streamObject.h"
#include "defMemUtilsMgd.h"
#include "siQuery.h"

Functions

clDsmErr_t dsmStreamGetProgramAssocTag (clDsmObjHandle_t streamObjectHandle, U16BIT *pAssociation_tag)
 The Client calls this function to obtain the Association Tag which can be used to determine the PID on which stream data can be found. Before calling this function the Client must have completed loading and opened the stream object.
clDsmErr_t clDsmStreamGetDeferredService (clDsmInstHandle_t instance, clDsmObjHandle_t streamObject, void *userData1, void *userData2, S_DvbLocator **ppDeferredService)
 The Client calls this function to obtain the Association Tag which can be used to determine the PID on which stream data can be found. Before calling this function the Client must have completed loading and opened the stream object.
void dsmStreamStoreDeferred (pclDsmInstData_t idp, pDsmObject_t pDsmObject, S_DvbLocator multiplex)

Detailed Description

Functions to support Stream Functionality.

Date:
06/03/2002
Author:
R.Taylor

Function Documentation

clDsmErr_t clDsmStreamGetDeferredService ( clDsmInstHandle_t  instance,
clDsmObjHandle_t  streamObject,
void *  userData1,
void *  userData2,
S_DvbLocator **  ppDeferredService 
)

The Client calls this function to obtain the Association Tag which can be used to determine the PID on which stream data can be found. Before calling this function the Client must have completed loading and opened the stream object.

Parameters:
dsmccInstanceAllows support >= 1 instance of a DSMCC.
streamObjectThis handle indicates the stream object
userData1Optional data to be used by client. This data is stored and returned unchanged to the Client using a callback.
userData2Optional data to be used by client. This data is stored and returned unchanged to the Client using a callback.
pDeferredServicereturn a pointer to deferred service structure
Returns:
CLDSM_ERR_INVALID_OBJECT_HANDLE The supplied object handle was not valid. CLDSM_ERR_INVALID_OBJECT_TYPE The streamObject does not refer to data containing the association tag. CLDSM_ERR_OBJECT_NOT_LOADED The streamObject does not refer to a loaded object. CLDSM_ERR_OBJECT_NOT_OPEN The streamObject does not refer to an open object. CLDSM_ERR_UNABLE_TO_GET_PROGRAM_ASSOC_TAG No BIOP_PROGRAM_USE tap could be found. CLDSM_ERR_SI_QUERY_FAILED SI Query Failed CLDSM_OK Association Tag was successfully obtained.
clDsmErr_t dsmStreamGetProgramAssocTag ( clDsmObjHandle_t  streamObjectHandle,
U16BIT *  pAssociation_tag 
)

The Client calls this function to obtain the Association Tag which can be used to determine the PID on which stream data can be found. Before calling this function the Client must have completed loading and opened the stream object.

Parameters:
streamObjectHandleThis handle indicates the stream object for which the association tag is required.
pAssociation_tagThis value is indirectly used by the Client to access elementary stream data, i.e. video/audio PIDs.
Returns:
CLDSM_ERR_INVALID_OBJECT_HANDLE The supplied object handle was not valid. CLDSM_ERR_INVALID_OBJECT_TYPE The streamObjectHandle does not refer to data containing the association tag. CLDSM_ERR_OBJECT_NOT_LOADED The streamObjectHandle does not refer to a loaded object. CLDSM_ERR_OBJECT_NOT_OPEN The streamObjectHandle does not refer to an open object. CLDSM_ERR_UNABLE_TO_GET_PROGRAM_ASSOC_TAG No BIOP_PROGRAM_USE tap could be found. CLDSM_OK Association Tag was successfully obtained.
 All Data Structures Files Functions Typedefs