1#pragma once
2#include "JCMediaChannelConstants.h"
3#include "JCMediaChannelParticipant.h"
4#include "JCMediaChannelQueryInfo.h"
5
16{
17public:
46 virtual void onJoin(bool result, JCMediaChannelReason reason, const char* channelId) = 0;
53 virtual void onLeave(JCMediaChannelReason reason, const char* channelId) = 0;
62 virtual void onStop(bool result, JCMediaChannelReason reason) = 0;
73 virtual void onQuery(int operationId, bool result, JCMediaChannelReason reason, JCMediaChannelQueryInfo* queryInfo) = 0;
79 virtual void onParticipantJoin(JCMediaChannelParticipant* participant) = 0;
85 virtual void onParticipantLeft(JCMediaChannelParticipant* participant) = 0;
100 virtual void onMessageReceive(const char* type, const char* content, const char* fromUserId) = 0;
112 virtual void onInviteSipUserResult(int operationId, bool result, JCMediaChannelReason reason) = 0;
119};
Definition: JCMediaChannelCallback.h:16
virtual void onLeave(JCMediaChannelReason reason, const char *channelId)=0
virtual void onInviteSipUserResult(int operationId, bool result, JCMediaChannelReason reason)=0
virtual void onJoin(bool result, JCMediaChannelReason reason, const char *channelId)=0
virtual void onParticipantLeft(JCMediaChannelParticipant *participant)=0
virtual void onStop(bool result, JCMediaChannelReason reason)=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 onQuery(int operationId, bool result, JCMediaChannelReason reason, JCMediaChannelQueryInfo *queryInfo)=0
virtual void onMediaChannelPropertyChange(JCMediaChannelPropChangeParam propChangeParam)=0
virtual void onMediaChannelStateChange(JCMediaChannelState state, JCMediaChannelState oldState)=0
virtual void onParticipantVolumeChange(JCMediaChannelParticipant *participant)=0
virtual void onParticipantJoin(JCMediaChannelParticipant *participant)=0
Definition: JCMediaChannelParticipant.h:23
Definition: JCMediaChannelParticipant.h:13
Definition: JCMediaChannel.h:270
Definition: JCMediaChannelQueryInfo.h:10
JCMediaChannelState
Definition: JCMediaChannelConstants.h:42
JCMediaChannelReason
Definition: JCMediaChannelConstants.h:268
最后更新时间: 2024/8/7 17:15:00