Agora Server Gateway SDK C++ API Reference
|
#include <NGIAgoraVideoTrack.h>
Public Member Functions | |
virtual bool | getStatistics (RemoteVideoTrackStats &stats)=0 |
virtual REMOTE_VIDEO_STATE | getState ()=0 |
virtual bool | getTrackInfo (VideoTrackInfo &info)=0 |
virtual int | registerVideoEncodedImageReceiver (IVideoEncodedImageReceiver *videoReceiver)=0 |
virtual int | unregisterVideoEncodedImageReceiver (IVideoEncodedImageReceiver *videoReceiver)=0 |
Public Member Functions inherited from agora::rtc::IVideoTrack | |
virtual bool | addRenderer (agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_FILTERS)=0 |
virtual bool | removeRenderer (agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_FILTERS)=0 |
virtual VideoTrackType | getType ()=0 |
Protected Member Functions | |
~IRemoteVideoTrack () | |
Protected Member Functions inherited from agora::rtc::IVideoTrack | |
~IVideoTrack () | |
The IRemoteVideoTrack class.
|
inlineprotected |
|
pure virtual |
Gets the state of the remote video track.
|
pure virtual |
Gets the statistics of the remote video track.
[out] | stats | The reference to the statistics of the remote video track. |
true
: Success.false
: Failure.
|
pure virtual |
Gets the information of the remote video track.
[out] | info | The reference to the information of the remote video track. |
true
: Success.false
: Failure.
|
pure virtual |
Registers an IVideoEncodedImageReceiver object.
You need to implement the IVideoEncodedImageReceiver
class in this method. Once you successfully register the encoded image receiver, the SDK triggers the onEncodedVideoImageReceived callback when it receives the encoded video image.
videoReceiver | The pointer to the IVideoEncodedImageReceiver object. |
|
pure virtual |
Releases the IVideoEncodedImageReceiver object.
videoReceiver | The pointer to the IVideoEncodedImageReceiver object. |