Agora Java API Reference for Android
|
#include <NGIAgoraVideoTrack.h>
Public Member Functions | |
virtual bool | isExternal () |
virtual void | onLocalVideoStateChanged (int track_id, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error_code, int timestamp_ms)=0 |
virtual void | onFirstVideoFrameRendered (user_id_t user_id, int width, int height, int timestamp_ms)=0 |
The observer of the video track.
|
virtual |
Indicate if the observer is for internal use. Note: Never override this function
|
pure virtual |
Occurs when the local video stream state changes.
track_id | The id of the local video track. |
state | State type #LOCAL_VIDEO_STREAM_STATE. When the state is LOCAL_VIDEO_STREAM_STATE_FAILED (3), see the error_code parameter for details. |
error_code | The detailed error information: #LOCAL_VIDEO_STREAM_ERROR. |
timestamp_ms | The timestamp when the event is triggered. |
|
pure virtual |
Occurs when the first video frame is rendered.
user_id | the user id of the video track, If it's local video track, uid is "". |
width | the width of the video frame. |
height | the height of the video frame. |
timestamp_ms | The timestamp when the event is triggered. |