- Installation
- Administration
- Programmer's Guide
- Grammars
- MRCP Server
- FAQs
Specifies a call-back function for handling stream state changes.
hport
The port's handle.
fn
Pointer to callback function to receive state change updates. See Streaming Callback Function.
UserData
Application defined data sent in to callback function.
LV_SUCCESS
No errors; data accepted.
LV_INVALID_HPORT
The input hport is not a valid one.
LV_FAILURE
The operation failed because the port was shutting down.
LV_EXCEPTION
An exception occured while processing the request.
Each time the stream status changes, the callback fn will be called. Here are the possible Stream Status messages.