25 #ifndef _MH5STREAMER_H_ 26 #define _MH5STREAMER_H_ 42 MHEG5_STREAMER_EVENT_HTTP_HEADERS_DONE,
43 MHEG5_STREAMER_EVENT_HTTP_DOWNLOAD_DONE,
44 MHEG5_STREAMER_EVENT_MSP_DOWNLOAD_DONE,
45 MHEG5_STREAMER_EVENT_TASK_STREAM_UNDERFLOW,
46 MHEG5_STREAMER_EVENT_TASK_STREAM_UNDERFLOW_RESUME,
47 MHEG5_STREAMER_EVENT_TASK_STREAM_PLAYING,
48 MHEG5_STREAMER_EVENT_TASK_STREAM_STOPPED,
49 MHEG5_STREAMER_EVENT_CONTENT_AVAILABLE,
50 MHEG5_STREAMER_EVENT_COUNTER_TRIGGER
51 } MHEG5StreamerEventType;
void MHEG5StreamerResume(MHEG5Stream *stream)
Resume IP content streaming after it was paused by MHEG5StreamerPause.
void MHEG5StreamerSetCounterPosition(MHEG5Stream *stream)
Set the counter position of a stream in the streamer. This function uses the counter position as set ...
void MHEG5StreamerNotifyStreamStopped(MHEG5Stream *stream)
Notify that a stream has stopped. This notification comes from the audio/video deocder.
void MHEG5StreamerPrepare(MHEG5Stream *stream)
Prepare for retrieval of a stream from the IP connection.
void MHEG5StreamerSetCounterEndPosition(MHEG5Stream *stream)
Set the counter end position of a stream in the streamer. This function uses the counter end position...
Implement the MHEG5 Stream Class Stream Class Defines the behaviour of a composition of continuous me...
Implement the MHEG5 Program Class Defines means to handle execution of external pieces of procedural ...
void MHEG5StreamerAbortMeasurement(MHEG5Program *program)
Abort streaming performance measurement.
void MHEG5StreamerSetActiveState(BOOLEAN activeState)
Set the active state of the streamer. When it is not active, it is allowed to buffer data but not to ...
MHEG5 engine interface error codes.
S32BIT MHEG5StreamerGetCounterPosition(MHEG5Stream *stream)
Return the current counter position (in units of 188 bytes).
void MHEG5StreamerMeasurePerformance(MHEG5String *url, MHEG5Int maxBytes, MHEG5Program *program)
Measure streaming performance (bytes per second). The result is returned to the resident program...
void MHEG5StreamerStop(MHEG5Stream *stream)
Stop streaming IP content.
void MHEG5streamerNotifyStreamingReady(void)
Handle notification that the external application is ready to handle IP stream data.
S32BIT MHEG5StreamerGetCounterMaxPosition(MHEG5Stream *stream)
Return the counter maximum position (content length in units of 188 bytes).
Definition: mh5stream.h:62
BOOLEAN MHEG5StreamerIsRunable(MHEG5Stream *stream)
Check that stream is runable (i.e. MHEG5StreamerPrepare has been called for it)
void MHEG5StreamerNotifyStreamStarted(MHEG5Stream *stream)
Notify that a stream has started. This notification comes from the audio/video deocder.
void MHEG5StreamerRefresh(void)
Refresh any running IC streams - called when user preferences have changed.
void MHEG5StreamerClose(void)
Close the IC streaming module.
Definition: mh5program.h:44
void MHEG5StreamerRemove(MHEG5Stream *stream)
Remove streaming IP request.
void MHEG5StreamerRun(MHEG5Stream *stream)
Start streaming IP content for a prepared request.
void MHEG5StreamerSetCounterTrigger(MHEG5Stream *stream, S32BIT triggerId, S32BIT newValue)
Add, remove or update a counter trigger for the stream. If the trigger does not exist, it will be added. If it already exists it will be updated if the new value is non-negative, otherwise it will be removed.
void MHEG5StreamerPause(MHEG5Stream *stream)
Pause IP content streaming.
void MHEG5StreamerReset(void)
Reset the IC streaming module.
E_MhegErr MHEG5StreamerOpen(void *buffer, U32BIT size, U32BIT taskPriority)
Open the IC streaming module.