MeetingMediaEvent carries media events of the current meeting and is registered through MeetingEngine.mediaEvent. You can extend MeetingMediaSimpleEvent and override only what you need.
Usage notes
-
This interface covers connection state, raw remote frames, and aggregated quality statistics; for the receive state of a single remote video, use
MeetingRemoteVideoEvent. -
onRemoteVideoFrame()is called back on the SRTC media thread and must not block. -
Media statistics are usually produced about every 5 seconds; for poor-network level changes, prefer
onNetworkQualityChanged(). - This listener is cleared when you exit the meeting; reassign it for the next meeting.
Methods
onMediaConnected()
Unit).
onRemoteVideoFrame(uid, trackDesc, y, u, v, width, height, format, angle)
Returns: None (
Unit).
onMediaMetric(metric)
Returns: None (
Unit).
onVolumesReport(volumes)
Returns: None (
Unit).
onActiveSpeakersChanged(speakers)
Returns: None (
Unit).
onNetworkQualityChanged(change)
trend is STABLE.
Parameters:
Returns: None (
Unit). For the data type, see SRTC types; for the levels, see SRTC enums.