Inherits agora::RefCountInterface.
◆ startChannelMediaRelay()
Starts to relay media streams across channels.
- Parameters
-
- Returns
- 0: Success.
- < 0: Failure.
◆ updateChannelMediaRelay()
Updates the channels for media stream relay. After a successful startChannelMediaRelay method call, if you want to relay the media stream to more channels, or leave the current relay channel, you can call the updateChannelMediaRelay method.
- Note
- Call this method after the startChannelMediaRelay method to update the destination channel.
- Parameters
-
- Returns
- 0: Success.
- < 0: Failure.
◆ stopChannelMediaRelay()
virtual int agora::rtc::IMediaRelayService::stopChannelMediaRelay |
( |
| ) |
|
|
pure virtual |
Stops the media stream relay.
Once the relay stops, the host quits all the destination channels.
- Returns
- 0: Success.
- < 0: Failure.
◆ registerEventHandler()
◆ unregisterEventHandler()
virtual void agora::rtc::IMediaRelayService::unregisterEventHandler |
( |
IMediaRelayObserver * |
eventObserver | ) |
|
|
pure virtual |