11#include "PanoRtcGroup.h"
15#include "PanoRecording.h"
133 const char *channelId,
VideoDeviceType
视频设备类型
Definition: PanoRtcDefs.h:196
const int kMaxDeviceIDLength
设备标识长度的最大值
Definition: PanoRtcDefs.h:39
ChannelMode
频道模式
Definition: PanoRtcDefs.h:520
QualityRating
质量评分分值
Definition: PanoRtcDefs.h:1123
UserLeaveReason
用户离开原因
Definition: PanoRtcDefs.h:484
AudioDeviceType
音频设备类型
Definition: PanoRtcDefs.h:167
QResult
返回值
Definition: PanoRtcDefs.h:54
const uint32_t kChannelServiceWhiteboard
Definition: PanoRtcDefs.h:530
DeviceRating
设备评分分值
Definition: PanoRtcDefs.h:1142
MediaSubscribeResult
用户媒体订阅结果
Definition: PanoRtcDefs.h:503
const uint32_t kChannelServiceMedia
Definition: PanoRtcDefs.h:528
VideoCaptureState
视频采集状态
Definition: PanoRtcDefs.h:222
VideoHwAccelerationType
视频编解码硬件加速配置。
Definition: PanoRtcDefs.h:293
VideoProfileType
视频能力类型
Definition: PanoRtcDefs.h:254
FailoverState
错误恢复状态
Definition: PanoRtcDefs.h:546
const uint32_t kChannelServiceMessage
Definition: PanoRtcDefs.h:532
OptionType
选项
Definition: PanoRtcDefs.h:640
ScreenCaptureState
屏幕采集状态
Definition: PanoRtcDefs.h:1242
AudioDeviceState
音频设备状态
Definition: PanoRtcDefs.h:182
AudioMixingState
混音任务状态
Definition: PanoRtcDefs.h:943
LogLevel
日志等级
Definition: PanoRtcDefs.h:561
MediaProcessorType
媒体处理类型
Definition: PanoRtcDefs.h:1178
VideoDeviceState
视频设备状态
Definition: PanoRtcDefs.h:209
AudioCallType
音频接入类型
Definition: PanoRtcDefs.h:467
AudioAecType
回音消除类型
Definition: PanoRtcDefs.h:310
ScreenScalingRatio
屏幕渲染缩放设置
Definition: PanoRtcDevice.h:556
const char * getPanoSdkVersion()
返回 PANO SDK 的版本信息
void setPanoLogLevel(panortc::LogLevel level)
设置日志级别,默认级别是Info
void initPanoGlobalConfigs(const char *configs)
初始化 PANO SDK 的全局配置。
panortc::RtcEngine * createPanoRtcEngine()
工厂函数,用于创建RtcEngine
panortc::RtcEngine * createPanoRtcEngineWithConfig(const panortc::RtcEngine::Configuration &config)
工厂函数,用于创建并初始化 RtcEngine
标注管理器
Definition: PanoAnnotation.h:558
音频设备管理器
Definition: PanoRtcDevice.h:570
设置用户音频指示器
Definition: PanoRtcStats.h:389
音频混音管理器
Definition: PanoRtcDevice.h:1508
网络管理器
Definition: PanoRtcDevice.h:1715
PanoRecording, 录制服务核心接口
Definition: PanoRecording.h:15
RemoteController, 远程控制服务核心接口
Definition: PanoController.h:56
RtcEngine的回调函数, 在使用RtcEngine之前必须要设置回调以获取事件通知。
Definition: PanoRtcEngine.h:1155
virtual void onUserVideoSubscribe(uint64_t userId, MediaSubscribeResult result)
Definition: PanoRtcEngine.h:1265
virtual void onVideoDeviceStateChanged(const char deviceID[kMaxDeviceIDLength], VideoDeviceType deviceType, VideoDeviceState deviceState)
Definition: PanoRtcEngine.h:1484
virtual void onWhiteboardStop()
Definition: PanoRtcEngine.h:1378
virtual void onChannelJoinConfirm(QResult result)
Definition: PanoRtcEngine.h:1165
virtual void onFirstScreenFrameRendered(uint64_t userId)
Definition: PanoRtcEngine.h:1443
virtual void onVideoCaptureStateChanged(const char deviceID[kMaxDeviceIDLength], VideoCaptureState state)
Definition: PanoRtcEngine.h:1497
virtual void onChannelFailover(FailoverState state)
Definition: PanoRtcEngine.h:1508
virtual void onScreenStartResult(QResult result)
共享开启成功与否的通知
Definition: PanoRtcEngine.h:1586
virtual void onAudioDeviceStateChanged(const char deviceID[kMaxDeviceIDLength], AudioDeviceType deviceType, AudioDeviceState deviceState)
Definition: PanoRtcEngine.h:1457
virtual void onUserVideoMute(uint64_t userId)
Definition: PanoRtcEngine.h:1292
virtual void onFirstScreenDataReceived(uint64_t userId)
Definition: PanoRtcEngine.h:1424
virtual void onActiveSpeakerListUpdated(const uint64_t *userIds, size_t count)
Definition: PanoRtcEngine.h:1520
virtual void onUserVideoStart(uint64_t userId, VideoProfileType maxProfile)
Definition: PanoRtcEngine.h:1245
virtual void onUserAudioUnmute(uint64_t userId)
Definition: PanoRtcEngine.h:1283
virtual void onFirstVideoFrameRendered(uint64_t userId)
Definition: PanoRtcEngine.h:1434
virtual void onUserAudioCallTypeChanged(uint64_t userId, AudioCallType type)
音频接入类型变化的通知
Definition: PanoRtcEngine.h:1637
virtual void onUserScreenUnmute(uint64_t userId)
Definition: PanoRtcEngine.h:1349
virtual void onUserLeaveIndication(uint64_t userId, UserLeaveReason reason)
Definition: PanoRtcEngine.h:1205
virtual void onNetworkQuality(uint64_t userId, QualityRating quality)
Definition: PanoRtcEngine.h:1558
virtual void onUserJoinIndication(uint64_t userId, const char *userName)
Definition: PanoRtcEngine.h:1194
virtual void onUserScreenStop(uint64_t userId)
Definition: PanoRtcEngine.h:1320
virtual void onWhiteboardUnavailable()
Definition: PanoRtcEngine.h:1364
virtual void onCalloutResult(const char *phoneNo, QResult result)
电话拨出成功与否的通知
Definition: PanoRtcEngine.h:1648
virtual void onScreenCaptureStateChanged(ScreenCaptureState state, QResult reason)
Definition: PanoRtcEngine.h:1597
virtual void onUserVideoStop(uint64_t userId)
Definition: PanoRtcEngine.h:1254
virtual void onUserAudioMute(uint64_t userId)
Definition: PanoRtcEngine.h:1274
virtual void onAudioMixingStateChanged(int64_t taskId, AudioMixingState state)
Definition: PanoRtcEngine.h:1532
virtual void onSoundCardShareStartResult(QResult result)
音频共享开启成功与否的通知
Definition: PanoRtcEngine.h:1606
virtual void onChannelCountDown(uint32_t remain)
Definition: PanoRtcEngine.h:1183
virtual void onVideoSnapshotCompleted(bool succeed, uint64_t userId, const char *filename)
Definition: PanoRtcEngine.h:1546
virtual void onUserScreenSubscribe(uint64_t userId, MediaSubscribeResult result)
Definition: PanoRtcEngine.h:1331
virtual void onSoundCardMonitorStartResult(QResult result)
声卡数据监控器开启成功与否的通知
Definition: PanoRtcEngine.h:1615
virtual void onUserScreenMute(uint64_t userId)
Definition: PanoRtcEngine.h:1340
virtual void onFirstAudioDataReceived(uint64_t userId)
Definition: PanoRtcEngine.h:1406
virtual void onUserAudioSubscribe(uint64_t userId, MediaSubscribeResult result)
Definition: PanoRtcEngine.h:1234
virtual void onVideoStartResult(QResult result)
视频开启成功与否的通知
Definition: PanoRtcEngine.h:1577
virtual void onUserAudioControlMessageReceived(uint64_t userId, const PanoData &data)
音频控制消息的通知
Definition: PanoRtcEngine.h:1626
virtual void onWhiteboardStart()
Definition: PanoRtcEngine.h:1371
virtual void onUserAudioStop(uint64_t userId)
Definition: PanoRtcEngine.h:1223
virtual void onChannelLeaveIndication(QResult result)
Definition: PanoRtcEngine.h:1174
virtual void onUserAudioStart(uint64_t userId)
Definition: PanoRtcEngine.h:1214
virtual void onFirstVideoDataReceived(uint64_t userId)
Definition: PanoRtcEngine.h:1415
virtual void onUserVideoUnmute(uint64_t userId)
Definition: PanoRtcEngine.h:1301
virtual void onWhiteboardStop(const char *whiteboardId)
Definition: PanoRtcEngine.h:1396
virtual void onWhiteboardAvailable()
Definition: PanoRtcEngine.h:1357
virtual void onWhiteboardStart(const char *whiteboardId)
Definition: PanoRtcEngine.h:1387
virtual void onAudioStartResult(QResult result)
音频开启成功与否的通知
Definition: PanoRtcEngine.h:1568
virtual void onAudioDefaultDeviceChanged(const char deviceID[kMaxDeviceIDLength], AudioDeviceType deviceType)
Definition: PanoRtcEngine.h:1470
virtual void onUserScreenStart(uint64_t userId)
Definition: PanoRtcEngine.h:1311
RtcEngine, PanoRtc的核心接口
Definition: PanoRtcEngine.h:28
virtual QResult unsubscribeVideo(uint64_t userId)=0
取消订阅用户的视频。
virtual QResult setAudioIndication(AudioIndication *indication, uint32_t intervalMs=200)=0
设置用户音频指示器
virtual QResult startScreen()=0
开启屏幕共享。
virtual QResult sendAudioControlMessage(const PanoData &data)=0
从音频RTC通道传输(外部自定义)音频通知消息。 备注:这个消息的数据最大长度为1024个字节,且最多每秒发送5次消息。
virtual AudioMixingManager * getAudioMixingManager()=0
获取音频混音管理器
virtual QResult sendFeedback(const FeedbackInfo &info)=0
发送用户反馈到 PANO。
virtual QResult startVideo(void *window, const VideoConfig &config)=0
开启视频,并且设置渲染窗口
virtual QResult unsubscribeAudio(uint64_t userId)=0
取消订阅用户的音频。
virtual QResult startVideo(RtcRenderSink *sink, VideoProfileType profileType)=0
开启视频,并且设置数据接收槽
virtual QResult startSoundCardShare()=0
开始声卡音频共享
virtual QResult unmuteVideo()=0
恢复视频。
virtual QResult muteScreen()=0
暂停屏幕共享。
virtual QResult snapshotVideo(const char *outputDir, uint64_t userId, SnapshotVideoOption option)=0
捕获指定用户的视频画面
virtual QResult subscribeScreen(uint64_t userId, void *window)=0
订阅用户的屏幕共享, 并且设置渲染窗口。
virtual QResult startAudioDump(const char *filePath, int64_t maxFileSize=-1)=0
开启音频转储。
virtual QResult stopAudio()=0
关闭音频
virtual RtcMessage * getMessageService()=0
获取消息服务的接口指针
virtual QResult subscribeScreen(uint64_t userId, RtcRenderSink *sink)=0
订阅用户的屏幕共享并且设置数据接收槽
virtual QResult updateScreenScalingRatio(uint64_t userId, ScreenScalingRatio ratio)=0
更新屏幕的绝对缩放比例。
virtual QResult startScreen(RtcRenderSink *sink, const ScreenConfig &config)=0
开启共享,并且设置数据接收槽
virtual NetworkManager * getNetworkManager()=0
获取网络管理器的指针
virtual VideoStreamManager * getVideoStreamManager()=0
获取视频流管理器
virtual QResult stopVideo()=0
关闭视频
virtual QResult subscribeAudio(uint64_t userId)=0
订阅用户的音频。
virtual ScreenSourceManager * getScreenSourceManager()=0
获取屏幕源管理器的指针
virtual QResult subscribeVideo(uint64_t userId, void *window, const VideoConfig &config)=0
订阅用户的视频, 并设置渲染窗口。
virtual QResult leaveChannel()=0
离开频道
virtual RemoteController * getRemoteController()=0
获取远程控制服务的接口指针
virtual VideoDeviceManager * getVideoDeviceManager()=0
获取视频设备管理器的指针
virtual QResult initialize(const Configuration &config)=0
使用配置参数初始化RtcEngine
virtual RtcGroupManager * getGroupManager()=0
获取分组管理器的接口指针
virtual QResult startVideo(RtcRenderSink *sink, const VideoSourceConfig &config)=0
开启视频,并且设置数据接收槽
virtual QResult startSoundCardMonitor(RtcRenderSink *sink)=0
开始声卡数据监控器
virtual QResult setMediaProcessor(MediaProcessorType type, void *processor, void *param=nullptr)=0
设置媒体处理模块
virtual QResult stopScreen()=0
停止屏幕共享。
virtual QResult joinChannel(const char *token, const char *channelId, uint64_t userId, const ChannelConfiguration &config)=0
加入频道
virtual QResult muteVideo()=0
暂停视频。
virtual QResult updateScreenConfig(const ScreenConfig &config)=0
更新屏幕共享采集配置。
virtual QResult muteAudio()=0
静音。
virtual QResult unmuteAudio()=0
取消静音。
virtual DeviceRating queryDeviceRating()=0
查询当前设备的评分值。
virtual QResult startScreen(RtcRenderSink *sink)=0
开启共享,并且设置数据接收槽
virtual QResult stopSoundCardShare()=0
停止声卡音频共享
virtual QResult callout(const char *phoneNo, bool bindToUser)=0
拨打电话号码。
virtual QResult stopSoundCardMonitor()=0
停止声卡数据监控器
virtual QResult switchWhiteboardEngine(const char *whiteboardId)=0
切换白板引擎
virtual QResult unsubscribeScreen(uint64_t userId)=0
取消订阅用户的屏幕共享。
virtual QResult setOption(OptionType option, void *param, uint32_t size)=0
设置参数
virtual AudioDeviceManager * getAudioDeviceManager()=0
获取音频设备管理器的指针
virtual QResult startAudio()=0
开启音频
virtual QResult updateScreenScalingRatioWithFocus(uint64_t userId, float ratio, int x, int y)=0
更新屏幕的相对缩放比例。
virtual QResult setScreenCaptureObserver(ScreenCaptureObserver *observer)=0
设置屏幕共享抓屏观察器
virtual QResult dropCall(const char *phoneNo)=0
挂断拨出或拨入的电话。
virtual RtcWhiteboard * getWhiteboardEngine()=0
获取白板引擎指针
virtual VideoRenderManager * getVideoRenderManager()=0
获取视频渲染管理器
virtual QResult stopAudioDump()=0
停止音频转储。
virtual QResult setMediaStatsObserver(MediaStatsObserver *observer)=0
设置媒体统计信息观察器
virtual QResult setParameters(const char *param)=0
设置自定义参数给PANO SDK。
virtual QResult unmuteScreen()=0
恢复屏幕共享。
virtual AnnotationManager * getAnnotationManager()=0
获取标注管理器
virtual QResult subscribeVideo(uint64_t userId, RtcRenderSink *sink, VideoProfileType profileType)=0
订阅用户的视频, 并设置视频数据接收槽。
virtual QResult updateScreenMovingDistance(uint64_t userId, int dx, int dy)=0
更新屏幕的相对移动距离。
RtcGroupManager, 分组服务核心接口
Definition: PanoRtcGroup.h:16
RtcMessage, 消息服务核心接口
Definition: PanoRtcMessage.h:18
渲染器的数据接收槽
Definition: PanoRtcDevice.h:76
RtcWhiteboatd, 白板的核心接口
Definition: PanoWhiteboard.h:482
屏幕共享监听器
Definition: PanoObserver.h:17
屏幕采集源管理
Definition: PanoRtcDevice.h:1202
视频设备管理器
Definition: PanoRtcDevice.h:978
视频渲染管理器
Definition: PanoVideoRender.h:18
视频流管理器
Definition: PanoRtcStream.h:21
用户反馈信息,用于发送用户反馈。
Definition: PanoRtcDefs.h:1101
数据类型
Definition: PanoRtcDefs.h:1256
频道配置参数, 用于加入会议
Definition: PanoRtcEngine.h:64
uint32_t serviceFlags
Definition: PanoRtcEngine.h:68
const char * userName
Definition: PanoRtcEngine.h:74
ChannelMode mode
Definition: PanoRtcEngine.h:66
bool subscribeAudioAll
Definition: PanoRtcEngine.h:70
RtcEngine 配置参数, 用于RtcEngine初始化
Definition: PanoRtcEngine.h:39
const char * rtcServer
Definition: PanoRtcEngine.h:45
Callback * callback
Definition: PanoRtcEngine.h:41
AudioAecType audioAecType
Definition: PanoRtcEngine.h:47
const char * appId
Definition: PanoRtcEngine.h:43
VideoHwAccelerationType videoHwAcceleration
Definition: PanoRtcEngine.h:52
uint32_t audioScenario
Definition: PanoRtcEngine.h:54
屏幕共享设置
Definition: PanoRtcDevice.h:543
图片文件格式。
Definition: PanoRtcDefs.h:1058
视频设置
Definition: PanoRtcDevice.h:496
视频源设置
Definition: PanoRtcDevice.h:514