|
Agora Java API Reference for Android
|
Public Member Functions | |
| virtual int | startOrUpdateChannelMediaRelay (const ChannelMediaRelayConfiguration &configuration)=0 |
| virtual int | stopChannelMediaRelay (aosl_ref_t ares=AOSL_REF_INVALID)=0 |
| virtual int | pauseAllChannelMediaRelay (aosl_ref_t ares=AOSL_REF_INVALID)=0 |
| virtual int | resumeAllChannelMediaRelay (aosl_ref_t ares=AOSL_REF_INVALID)=0 |
| virtual void | registerEventHandler (IMediaRelayObserver *eventObserver, void(*safeDeleter)(IMediaRelayObserver *)=NULL)=0 |
| virtual void | unregisterEventHandler (IMediaRelayObserver *eventObserver)=0 |
Public Member Functions inherited from agora::RefCountInterface | |
| virtual void | AddRef () const =0 |
| virtual RefCountReleaseStatus | Release () const =0 |
| virtual bool | HasOneRef () const =0 |
|
pure virtual |
Starts or update to relay media streams across channels.
| configuration | The configuration of the media stream relay: ChannelMediaRelayConfiguration. |
|
pure virtual |
Stops the media stream relay.
Once the relay stops, the host quits all the destination channels.
|
pure virtual |
pause the channels for media stream relay.
|
pure virtual |
resume the channels for media stream relay.
1.8.18