#include <JCMediaChannelCallback.h>
|
virtual void | onMediaChannelStateChange (JCMediaChannelState state, JCMediaChannelState oldState)=0 |
|
virtual void | onMediaChannelPropertyChange (JCMediaChannelPropChangeParam propChangeParam)=0 |
|
virtual void | onJoin (bool result, JCMediaChannelReason reason, const char *channelId)=0 |
|
virtual void | onLeave (JCMediaChannelReason reason, const char *channelId)=0 |
|
virtual void | onStop (bool result, JCMediaChannelReason reason)=0 |
|
virtual void | onQuery (int operationId, bool result, JCMediaChannelReason reason, JCMediaChannelQueryInfo *queryInfo)=0 |
|
virtual void | onParticipantJoin (JCMediaChannelParticipant *participant)=0 |
|
virtual void | onParticipantLeft (JCMediaChannelParticipant *participant)=0 |
|
virtual void | onParticipantUpdate (JCMediaChannelParticipant *participant, JCMediaChannelParticipant::ChangeParam changeParam)=0 |
|
virtual void | onMessageReceive (const char *type, const char *content, const char *fromUserId)=0 |
|
virtual void | onInviteSipUserResult (int operationId, bool result, JCMediaChannelReason reason)=0 |
|
virtual void | onParticipantVolumeChange (JCMediaChannelParticipant *participant)=0 |
|
◆ onInviteSipUserResult()
virtual void JCMediaChannelCallback::onInviteSipUserResult |
( |
int |
operationId, |
|
|
bool |
result, |
|
|
JCMediaChannelReason |
reason |
|
) |
| |
|
pure virtual |
◆ onJoin()
virtual void JCMediaChannelCallback::onJoin |
( |
bool |
result, |
|
|
JCMediaChannelReason |
reason, |
|
|
const char * |
channelId |
|
) |
| |
|
pure virtual |
加入频道结果回调
- 参数
-
result | 加入频道是否成功
|
reason | 加入失败原因,当 result 为 false 时该值有效。失败原因参见:JCMediaChannel 错误码 |
channelId | 频道标识符 |
◆ onLeave()
virtual void JCMediaChannelCallback::onLeave |
( |
JCMediaChannelReason |
reason, |
|
|
const char * |
channelId |
|
) |
| |
|
pure virtual |
◆ onMediaChannelPropertyChange()
◆ onMediaChannelStateChange()
◆ onMessageReceive()
virtual void JCMediaChannelCallback::onMessageReceive |
( |
const char * |
type, |
|
|
const char * |
content, |
|
|
const char * |
fromUserId |
|
) |
| |
|
pure virtual |
◆ onParticipantJoin()
◆ onParticipantLeft()
◆ onParticipantUpdate()
◆ onParticipantVolumeChange()
◆ onQuery()
◆ onStop()
该类的文档由以下文件生成: