LV_SRE_StreamSetStateChangeCallBack

Specifies a call-back function for handling stream state changes.

Function

Parameters

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.

Return Values

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.

Remarks

Each time the stream status changes, the callback fn will be called. Here are the possible Stream Status messages.

See Also

© 2012 LumenVox LLC. All rights reserved.