MediaRecvCallback()

DESCRIPTION

Callback invoked when a media track has data available.

DECLARATION

typedef std::function<void(uint8_t* buffer, size_t length)> MediaRecvCallback

PARAMETERS

buffer:
[in] Data buffer received
length:
[in] Length of data buffer