Inherits 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 stopChannelMediaRelay |
( |
| ) |
|
|
pure virtual |
Stops the media stream relay.
Once the relay stops, the host quits all the destination channels.
- Returns
- 0: Success.
- < 0: Failure.
◆ pauseAllChannelMediaRelay()
virtual int pauseAllChannelMediaRelay |
( |
| ) |
|
|
pure virtual |
pause the channels for media stream relay.
- Returns
- 0: Success.
- < 0: Failure.
◆ resumeAllChannelMediaRelay()
virtual int resumeAllChannelMediaRelay |
( |
| ) |
|
|
pure virtual |
resume the channels for media stream relay.
- Returns
- 0: Success.
- < 0: Failure.
◆ registerEventHandler()
◆ unregisterEventHandler()
◆ AddRef()
virtual void AddRef |
( |
| ) |
const |
|
pure virtualinherited |
◆ Release()
◆ HasOneRef()
virtual bool HasOneRef |
( |
| ) |
const |
|
pure virtualinherited |