MHEG5
15.3.0
|
IC Streeamer Task. More...
#include <assert.h>
#include <string.h>
#include "mh5debug.h"
#include "httptype.h"
#include "stb_os.h"
#include "dvb_ics.h"
#include "stmr_queue.h"
#include "stmr_common.h"
Defines | |
#define | LOOK_AHEAD_DIFF 1000 |
#define | LOOK_AHEAD_THRESHOLD 2500 |
#define | PDBG(x) TRACE(TICS, x) |
#define | DBG(x) |
Enumerations | |
enum | TaskState { TASK_RUNNING, TASK_STOP_REQUEST, TASK_STOPPED } |
Functions | |
E_MhegErr | MHEG5StreamerStartTask (U32BIT stack, U8BIT priority) |
Start streamer task. The task passes stream data to the external application and generates stream and engine events for the MHEG-5 application. | |
void | MHEG5StreamerSendSignalToTask (void) |
Send signal to streamer task to wake it up (if it's asleep) | |
void | MHEG5StreamerRegisterUnderflowCallback (void(*callback)(U32BIT requestId, U32BIT playoutTime)) |
Register notification callback for underflow events. If a callback is already registered for the event, it will be replaced. | |
void | MHEG5StreamerStopTask (void) |
Stop streamer task. This function blocks until the task is stopped. |
IC Streeamer Task.
void MHEG5StreamerRegisterUnderflowCallback | ( | void(*)(U32BIT requestId, U32BIT playoutTime) | callback | ) |
Register notification callback for underflow events. If a callback is already registered for the event, it will be replaced.
void MHEG5StreamerSendSignalToTask | ( | void | ) |
Send signal to streamer task to wake it up (if it's asleep)
E_MhegErr MHEG5StreamerStartTask | ( | U32BIT | stack, |
U8BIT | priority | ||
) |
Start streamer task. The task passes stream data to the external application and generates stream and engine events for the MHEG-5 application.
stack | Stack size for the task |
priority | Task priority |
void MHEG5StreamerStopTask | ( | void | ) |
Stop streamer task. This function blocks until the task is stopped.