Inherits RefCountInterface.
◆ startOrUpdateChannelMediaRelay()
Starts or update to relay media streams across channels.
- Since
- v4.2.0
- Parameters
-
- Returns
- 0: Success.
- < 0: Failure.
- -1(ERR_FAILED): A general error occurs (no specified reason).
- -2(ERR_INVALID_ARGUMENT): The argument is invalid.
- -5(ERR_REFUSED): The request is rejected.
◆ stopChannelMediaRelay()
virtual int stopChannelMediaRelay |
( |
aosl_ref_t |
ares = AOSL_REF_INVALID | ) |
|
|
pure virtual |
Stops the media stream relay.
Once the relay stops, the host quits all the destination channels.
- Returns
- 0: Success.
- < 0: Failure.
- -1(ERR_FAILED): A general error occurs (no specified reason).
- -2(ERR_INVALID_ARGUMENT): The argument is invalid.
- -5(ERR_REFUSED): The request is rejected.
◆ pauseAllChannelMediaRelay()
virtual int pauseAllChannelMediaRelay |
( |
aosl_ref_t |
ares = AOSL_REF_INVALID | ) |
|
|
pure virtual |
pause the channels for media stream relay.
- Returns
- 0: Success.
- < 0: Failure.
- -1(ERR_FAILED): A general error occurs (no specified reason).
- -2(ERR_INVALID_ARGUMENT): The argument is invalid.
- -5(ERR_REFUSED): The request is rejected.
◆ resumeAllChannelMediaRelay()
virtual int resumeAllChannelMediaRelay |
( |
aosl_ref_t |
ares = AOSL_REF_INVALID | ) |
|
|
pure virtual |
resume the channels for media stream relay.
- Returns
- 0: Success.
- < 0: Failure.
- -1(ERR_FAILED): A general error occurs (no specified reason).
- -2(ERR_INVALID_ARGUMENT): The argument is invalid.
- -5(ERR_REFUSED): The request is rejected.
◆ registerEventHandler()
◆ unregisterEventHandler()
◆ AddRef()
virtual void AddRef |
( |
| ) |
const |
|
pure virtualinherited |
◆ Release()
◆ HasOneRef()
virtual bool HasOneRef |
( |
| ) |
const |
|
pure virtualinherited |