question stringlengths 1 57 | tag stringclasses 18
values | response stringlengths 112 68.3k | content stringlengths 238 68.5k | __index_level_0__ int64 0 12k |
|---|---|---|---|---|
QNRTCClient | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNRTCClient
# QNRTCClient
最近更新时间: 2022-03-23 23:11:41
RTC 核心类,包含加入房间,离开房间,订阅、发布 Track,获取统计信息等功能
Index
Core Methods
* SetClientRole
* SetAutoSubscribe
* Join
* Leave
* GetConnectionState
* Publish
* UnPublish
* Subscribe
* UnSubscribe
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNRTCClient
# QNRTCClient
最近更新时间: 2022-03-23 23:11:41
RTC 核心类,包含加入房间,离开房间,订阅、发布 Track,获取统计信息等功能
Index
Core Methods
* SetClientRole
* SetAutoSubscribe
* Join
* Leave
* GetConnectionState
* Publish
* UnPublish
* ... | 6,615 |
QNRTCClientConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNRTCClientConfig
# QNRTCClientConfig
最近更新时间: 2022-03-23 23:13:44
[QNRTCClient](https://developer.qiniu.com/rtc/11344/qnrtcclientconfig/9446/QNRTCClient)
创建配置类,在
[QNRTC.CreateClient](https://developer.qiniu.com/rtc/11344/qnrtcclientconfig/9445)
的时候使用
Ind... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNRTCClientConfig
# QNRTCClientConfig
最近更新时间: 2022-03-23 23:13:44
[QNRTCClient](https://developer.qiniu.com/rtc/11344/qnrtcclientconfig/9446/QNRTCClient)
创建配置类,在
[QNRTC.CreateClient](https://developer.qiniu.com/rtc/11344/qnrtccli... | 6,625 |
QNRTCEventListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNRTCEventListener
# QNRTCEventListener
最近更新时间: 2022-03-24 00:24:02
QNRTC 全局事件回调接口,用来监听设备相关的回调事件,如音频路由改变等。可以在 QNRTC 的初始化函数 QNRTC.init 中传入。
Index
Core Methods
* OnVideoDeviceStateChanged
* OnAudioDeviceStateChanged
* OnAudioRouteChanged
Core Meth... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNRTCEventListener
# QNRTCEventListener
最近更新时间: 2022-03-24 00:24:02
QNRTC 全局事件回调接口,用来监听设备相关的回调事件,如音频路由改变等。可以在 QNRTC 的初始化函数 QNRTC.init 中传入。
Index
Core Methods
* OnVideoDeviceStateChanged
* OnAudioDeviceStateChanged
* OnAu... | 6,626 |
QNRTCSetting | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNRTCSetting
# QNRTCSetting
最近更新时间: 2022-03-30 10:59:56
SDK 的核心参数配置结构体
Index
Properties
* is_aec3_enabled
* is_maintain_resolution_enabled
* is_audio_redundant_enabled
* is_audio_route_to_speakerphone
* log_level
* encoder_type
Properties
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNRTCSetting
# QNRTCSetting
最近更新时间: 2022-03-30 10:59:56
SDK 的核心参数配置结构体
Index
Properties
* is_aec3_enabled
* is_maintain_resolution_enabled
* is_audio_redundant_enabled
* is_audio_route_to_speakerphone
* log_level
*... | 6,629 |
QNScreenCaptureSourceType | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenCaptureSourceType
# QNScreenCaptureSourceType
最近更新时间: 2022-03-23 23:17:03
屏幕共享源类型
Index
Enum
* QNScreenCaptureSourceType
Enum
QNScreenCaptureSourceType
* Type declaration
* kWindow
* kScreen
以上内容是否对您有帮助?
| * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenCaptureSourceType
# QNScreenCaptureSourceType
最近更新时间: 2022-03-23 23:17:03
屏幕共享源类型
Index
Enum
* QNScreenCaptureSourceType
Enum
QNScreenCaptureSourceType
* Type declaration
* kWindow
* kScreen
以上内容是否对您有... | 6,632 |
QNScreenEventListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenEventListener
# QNScreenEventListener
最近更新时间: 2022-03-24 15:46:42
屏幕共享异常通知
Index
Core Methods
* OnSreenError
Core Methods
OnSreenError
* virtual void OnSreenError(int error_code, const std::string& error_message)
* 屏幕共享失败回调
Parameters... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenEventListener
# QNScreenEventListener
最近更新时间: 2022-03-24 15:46:42
屏幕共享异常通知
Index
Core Methods
* OnSreenError
Core Methods
OnSreenError
* virtual void OnSreenError(int error_code, const std::string& error_message... | 6,633 |
QNScreenVideoTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenVideoTrack
# QNScreenVideoTrack
最近更新时间: 2022-03-23 23:22:13
本地视频录屏 Track 类
> 屏幕共享 track 的创建需要发起系统屏幕录制的申请,具体使用姿势请参考[屏幕共享 track
> 使用指南](https://developer.qiniu.com/rtc/9448/qnscreenvideotrack/undefined)。
Hierarchy
* [QNTrack](https://developer.... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenVideoTrack
# QNScreenVideoTrack
最近更新时间: 2022-03-23 23:22:13
本地视频录屏 Track 类
> 屏幕共享 track 的创建需要发起系统屏幕录制的申请,具体使用姿势请参考[屏幕共享 track
> 使用指南](https://developer.qiniu.com/rtc/9448/qnscreenvideotrack/undefined)。
Hierarchy
* [Q... | 6,634 |
QNScreenVideoTrackConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenVideoTrackConfig
# QNScreenVideoTrackConfig
最近更新时间: 2022-03-23 23:22:56
桌面、窗口视频采集 Track 的配置
Index
Properties
* encoder_config
* id
* tag
* multi_profile_enabled
* is_window_graphics_capture_enabled
Properties
encoder_config
* enc... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenVideoTrackConfig
# QNScreenVideoTrackConfig
最近更新时间: 2022-03-23 23:22:56
桌面、窗口视频采集 Track 的配置
Index
Properties
* encoder_config
* id
* tag
* multi_profile_enabled
* is_window_graphics_capture_enabled
Propertie... | 6,640 |
QNScreenWindowInfo | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenWindowInfo
# QNScreenWindowInfo
最近更新时间: 2022-03-23 23:24:20
SDK 提供对桌面和窗口的画面采集,以下为可以采集的屏幕或窗口信息
Index
Properties
* id
* title
* type
Properties
id
* id: string
* 窗口 Id,唯一标识
title
* title: string
* 窗口标题
type
* type: [QNScree... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNScreenWindowInfo
# QNScreenWindowInfo
最近更新时间: 2022-03-23 23:24:20
SDK 提供对桌面和窗口的画面采集,以下为可以采集的屏幕或窗口信息
Index
Properties
* id
* title
* type
Properties
id
* id: string
* 窗口 Id,唯一标识
title
* title: string
* 窗口标题... | 6,642 |
QNStretchMode | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNStretchMode
# QNStretchMode
最近更新时间: 2021-09-26 19:18:39
画面渲染窗口填充方式
Index
Enum
* QNStretchMode
Enum
QNStretchMode
* code | describe | message
---|---|---
ASPECT_INVALID | 无效值 | 无
ASPECT_FILL | 在保持长宽比的前提下,缩放视频,使其充满容器 | 无
ASPECT_FIT | 在保持... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNStretchMode
# QNStretchMode
最近更新时间: 2021-09-26 19:18:39
画面渲染窗口填充方式
Index
Enum
* QNStretchMode
Enum
QNStretchMode
* code | describe | message
---|---|---
ASPECT_INVALID | 无效值 | 无
ASPECT_FILL | 在保持长宽比的前提下,缩放视频,使其充... | 6,643 |
QNTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNTrack
# QNTrack
最近更新时间: 2022-03-23 23:25:36
音视频 Track 基类
Hierarchy
* QNTrack
* [QNLocalTrack](https://developer.qiniu.com/rtc/9452/qntrack/9422/QNLocalTrack)
* [QNLocalVideoTrack](https://developer.qiniu.com/rtc/9452/qntrack/9424/QNLocalV... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNTrack
# QNTrack
最近更新时间: 2022-03-23 23:25:36
音视频 Track 基类
Hierarchy
* QNTrack
* [QNLocalTrack](https://developer.qiniu.com/rtc/9452/qntrack/9422/QNLocalTrack)
* [QNLocalVideoTrack](https://developer.qiniu.com/rtc/... | 6,644 |
QNTrackInfoChangedListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTrackInfoChangedListener
# QNTrackInfoChangedListener
最近更新时间: 2022-03-23 23:26:40
Track 信息改变回调接口
Index
Core Methods
* OnVideoProfileChanged
* OnMuteStateChanged
Core Methods
OnVideoProfileChanged
* virtual void OnVideoProfileChanged(const st... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTrackInfoChangedListener
# QNTrackInfoChangedListener
最近更新时间: 2022-03-23 23:26:40
Track 信息改变回调接口
Index
Core Methods
* OnVideoProfileChanged
* OnMuteStateChanged
Core Methods
OnVideoProfileChanged
* virtual void OnVi... | 6,647 |
QNTrackProfile | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNTrackProfile
# QNTrackProfile
最近更新时间: 2022-03-23 23:27:07
Track 质量等级
Index
Enum
* QNTrackProfile
Enum
QNTrackProfile
* code | describe | message
---|---|---
kHigh | 高质量 | 无
kMedium | 普通质量 | 无
kLow | 低质量 | 无
Type declaration
*... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNTrackProfile
# QNTrackProfile
最近更新时间: 2022-03-23 23:27:07
Track 质量等级
Index
Enum
* QNTrackProfile
Enum
QNTrackProfile
* code | describe | message
---|---|---
kHigh | 高质量 | 无
kMedium | 普通质量 | 无
kLow | 低质量 | 无
... | 6,649 |
QNTranscodingLiveStreamingConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTranscodingLiveStreamingConfig
# QNTranscodingLiveStreamingConfig
最近更新时间: 2022-03-23 23:28:56
自定义合流配置信息
Index
Properties
* stream_id
* publish_url
* merge_background
* merge_watermark
* width
* height
* fps
* bitrate
* min_bitrate
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTranscodingLiveStreamingConfig
# QNTranscodingLiveStreamingConfig
最近更新时间: 2022-03-23 23:28:56
自定义合流配置信息
Index
Properties
* stream_id
* publish_url
* merge_background
* merge_watermark
* width
* height
* fps
*... | 6,650 |
QNTranscodingLiveStreamingImage | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTranscodingLiveStreamingImage
# QNTranscodingLiveStreamingImage
最近更新时间: 2022-03-23 23:28:02
合流背景、水印配置参数
Index
Properties
* layer_url
* x
* y
* layer_width
* layer_height
Properties
layer_url
* layer_url: string
* 合流背景、水印图片 http 网路地址
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTranscodingLiveStreamingImage
# QNTranscodingLiveStreamingImage
最近更新时间: 2022-03-23 23:28:02
合流背景、水印配置参数
Index
Properties
* layer_url
* x
* y
* layer_width
* layer_height
Properties
layer_url
* layer_url: strin... | 6,652 |
QNTranscodingLiveStreamingTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTranscodingLiveStreamingTrack
# QNTranscodingLiveStreamingTrack
最近更新时间: 2022-03-23 23:29:37
旁路直播合流配置信息,通过 SDK 将参数发送到服务端,服务端按照指定的参数进行合流并推出 RTMP 流
Index
Properties
* track_id
* x
* y
* z
* width
* height
* stretch_mode
* is_support_sei
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNTranscodingLiveStreamingTrack
# QNTranscodingLiveStreamingTrack
最近更新时间: 2022-03-23 23:29:37
旁路直播合流配置信息,通过 SDK 将参数发送到服务端,服务端按照指定的参数进行合流并推出 RTMP 流
Index
Properties
* track_id
* x
* y
* z
* width
* height
* stretc... | 6,653 |
QNTransportPolicy | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNTransportPolicy
# QNTransportPolicy
最近更新时间: 2022-03-23 23:30:36
媒体传输协议配置
Index
Enum
* QNTransportPolicy
Enum
QNTransportPolicy
* code | describe | message
---|---|---
kForceUDP | 强制 UDP | 无
kForceTCP | 强制 TCP | 无
kPreferUDP | 优先 UDP | ... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNTransportPolicy
# QNTransportPolicy
最近更新时间: 2022-03-23 23:30:36
媒体传输协议配置
Index
Enum
* QNTransportPolicy
Enum
QNTransportPolicy
* code | describe | message
---|---|---
kForceUDP | 强制 UDP | 无
kForceTCP | 强制 TCP | ... | 6,655 |
QNVideoCaptureConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoCaptureConfig
# QNVideoCaptureConfig
最近更新时间: 2022-03-23 23:31:23
配置视频采集参数的结构体
Index
Properties
* width
* height
* frame_rate
Properties
width
* width: int32_t
* 设置视频采集宽度
height
* height: int32_t
* 设置视频采集高度
frame_rate
* fra... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoCaptureConfig
# QNVideoCaptureConfig
最近更新时间: 2022-03-23 23:31:23
配置视频采集参数的结构体
Index
Properties
* width
* height
* frame_rate
Properties
width
* width: int32_t
* 设置视频采集宽度
height
* height: int32_t
* 设置视... | 6,656 |
QNVideoDeviceState | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoDeviceState
# QNVideoDeviceState
最近更新时间: 2022-03-23 23:31:51
摄像头设备状态,SDK 提供设备插拔状态的监控,以下用于标识设备被插入还是拔出设备状态变化后,建议通过
[GetCameraCount](https://developer.qiniu.com/rtc/9459/qnvideodevicestate/undefined)
重新获取摄像头设备列表
Index
Enum
* QNVideoDeviceState
E... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoDeviceState
# QNVideoDeviceState
最近更新时间: 2022-03-23 23:31:51
摄像头设备状态,SDK 提供设备插拔状态的监控,以下用于标识设备被插入还是拔出设备状态变化后,建议通过
[GetCameraCount](https://developer.qiniu.com/rtc/9459/qnvideodevicestate/undefined)
重新获取摄像头设备列表
Index
Enum
... | 6,657 |
QNVideoEncoderConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoEncoderConfig
# QNVideoEncoderConfig
最近更新时间: 2022-03-23 21:56:30
配置视频编码参数的结构体
Index
Properties
* width
* height
* frame_rate
* bitrate
Properties
width
* width: int32_t
* 设置视频编码宽度
height
* height: int32_t
* 设置视频编码高度
frame_r... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoEncoderConfig
# QNVideoEncoderConfig
最近更新时间: 2022-03-23 21:56:30
配置视频编码参数的结构体
Index
Properties
* width
* height
* frame_rate
* bitrate
Properties
width
* width: int32_t
* 设置视频编码宽度
height
* height: int... | 6,659 |
QNVideoEncodeType | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNVideoEncodeType
# QNVideoEncodeType
最近更新时间: 2022-03-23 23:32:46
编码器类型
Index
Enum
* QNVideoEncodeType
Enum
QNVideoEncodeType
* code | describe | message
---|---|---
kEncodeOpenH264 | 默认 Open264 编码器,支持所有平台 | 无
kEncodeH264QSV | Intel 集显编码器,... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNVideoEncodeType
# QNVideoEncodeType
最近更新时间: 2022-03-23 23:32:46
编码器类型
Index
Enum
* QNVideoEncodeType
Enum
QNVideoEncodeType
* code | describe | message
---|---|---
kEncodeOpenH264 | 默认 Open264 编码器,支持所有平台 | 无
kEn... | 6,660 |
QNVideoFrameListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoFrameListener
# QNVideoFrameListener
最近更新时间: 2022-03-23 21:37:09
视频数据回调接口
Index
Core Methods
* OnVideoFrame
Core Methods
OnVideoFrame
* virtual void OnVideoFrame(const std::string& user_id,const string& track_id,const uint8_t* data,uint32... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows
>QNVideoFrameListener
# QNVideoFrameListener
最近更新时间: 2022-03-23 21:37:09
视频数据回调接口
Index
Core Methods
* OnVideoFrame
Core Methods
OnVideoFrame
* virtual void OnVideoFrame(const std::string& user_id,const string& track_id,... | 6,662 |
QNVideoFrameType | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNVideoFrameType
# QNVideoFrameType
最近更新时间: 2022-03-23 21:26:11
视频数据格式
Index
Enum
* QNVideoFrameType
Enum
QNVideoFrameType
* Type declaration
* kUnknown
* kI420
* kIYUV
* kRGB24
* kABGR
* kARGB
* kARGB4444
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNVideoFrameType
# QNVideoFrameType
最近更新时间: 2022-03-23 21:26:11
视频数据格式
Index
Enum
* QNVideoFrameType
Enum
QNVideoFrameType
* Type declaration
* kUnknown
* kI420
* kIYUV
* kRGB24
* kABGR
* k... | 6,663 |
QNVideoRotation | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNVideoRotation
# QNVideoRotation
最近更新时间: 2022-03-23 23:33:23
视频数据的旋转角度,主要用于对原始视频数据进行处理的功能接口中
Index
Enum
* QNVideoRotation
Enum
QNVideoRotation
* code | describe | message
---|---|---
kVideoRotation0 | 旋转 0 度 | 无
kVideoRotation90 | 旋转 90 度... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNVideoRotation
# QNVideoRotation
最近更新时间: 2022-03-23 23:33:23
视频数据的旋转角度,主要用于对原始视频数据进行处理的功能接口中
Index
Enum
* QNVideoRotation
Enum
QNVideoRotation
* code | describe | message
---|---|---
kVideoRotation0 | 旋转 0 度 | 无
... | 6,664 |
QNView | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNView
# QNView
最近更新时间: 2022-03-23 21:48:55
视频窗口及渲染模式设置
Index
Properties
* hwnd
* render_type
* rotation
* stretch_mode
* mirror
Properties
hwnd
* hwnd: void*
* 窗口对象, Windows:窗口句柄, iOS:UIView 窗口
render_type
* render_type: [QNRender... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Windows >QNView
# QNView
最近更新时间: 2022-03-23 21:48:55
视频窗口及渲染模式设置
Index
Properties
* hwnd
* render_type
* rotation
* stretch_mode
* mirror
Properties
hwnd
* hwnd: void*
* 窗口对象, Windows:窗口句柄, iOS:UIView 窗口
render_type
... | 6,665 |
QNAudioEffect | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioEffect
# QNAudioEffect
最近更新时间: 2022-06-20 14:37:08
音效混音配置类,可通过
[QNAudioEffectMixer::CreateAudioEffect](https://developer.qiniu.com/rtc/11986/QNAudioEffect-
Linux/11987) 接口进行创建
Index
Core Methods
* GetDuration
* GetID
* GetFilePath
* SetSta... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioEffect
# QNAudioEffect
最近更新时间: 2022-06-20 14:37:08
音效混音配置类,可通过
[QNAudioEffectMixer::CreateAudioEffect](https://developer.qiniu.com/rtc/11986/QNAudioEffect-
Linux/11987) 接口进行创建
Index
Core Methods
* GetDuration
* GetID
... | 6,666 |
QNAudioEffectMixer | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioEffectMixer
# QNAudioEffectMixer
最近更新时间: 2022-06-20 14:40:28
音效混音控制类,提供了控制音效混音的一系列方法。
> 1\. 当前仅支持基于
> [QNMicrophoneAudioTrack](https://developer.qiniu.com/rtc/11987/QNAudioEffectMixer-
> Linux/11210/QNMicrophoneAudioTrack) 的音效混音操作
>
> 2\. 混音需要加入房间并且... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioEffectMixer
# QNAudioEffectMixer
最近更新时间: 2022-06-20 14:40:28
音效混音控制类,提供了控制音效混音的一系列方法。
> 1\. 当前仅支持基于
> [QNMicrophoneAudioTrack](https://developer.qiniu.com/rtc/11987/QNAudioEffectMixer-
> Linux/11210/QNMicrophoneAudioTrack) ... | 6,668 |
QNAudioEffectMixerListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNAudioEffectMixerListener
# QNAudioEffectMixerListener
最近更新时间: 2022-06-20 14:43:50
音效混音控制器的回调监听函数,可以通过
[QNMicrophoneAudioTrack::CreateAudioEffectMixer](https://developer.qiniu.com/rtc/11988/QNAudioEffectMixerListener-
Linux/11210) 创建
[QNAudioEffectMixer](h... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNAudioEffectMixerListener
# QNAudioEffectMixerListener
最近更新时间: 2022-06-20 14:43:50
音效混音控制器的回调监听函数,可以通过
[QNMicrophoneAudioTrack::CreateAudioEffectMixer](https://developer.qiniu.com/rtc/11988/QNAudioEffectMixerListener-
Linux/11210)... | 6,673 |
QNAudioMusicMixer | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioMusicMixer
# QNAudioMusicMixer
最近更新时间: 2022-06-20 14:44:58
背景音乐混音控制类,提供了控制背景音乐混音一系列方法。
> 1\. 当前仅支持基于
> [QNMicrophoneAudioTrack](https://developer.qiniu.com/rtc/11989/QNAudioMusicMixer-
> Linux/11210/QNMicrophoneAudioTrack) 的背景音乐混音操作
>
> 2\. 混音需要加入房间... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioMusicMixer
# QNAudioMusicMixer
最近更新时间: 2022-06-20 14:44:58
背景音乐混音控制类,提供了控制背景音乐混音一系列方法。
> 1\. 当前仅支持基于
> [QNMicrophoneAudioTrack](https://developer.qiniu.com/rtc/11989/QNAudioMusicMixer-
> Linux/11210/QNMicrophoneAudioTrack) ... | 6,676 |
QNAudioMusicMixerListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNAudioMusicMixerListener
# QNAudioMusicMixerListener
最近更新时间: 2022-06-20 14:46:43
混音过程中的回调监听函数,可以通过
[QNMicrophoneAudioTrack.CreateAudioMusicMixer](https://developer.qiniu.com/rtc/11990/QNAudioMusicMixerListener-
Linux/11210) 创建
[QNAudioMusicMixer](https://d... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNAudioMusicMixerListener
# QNAudioMusicMixerListener
最近更新时间: 2022-06-20 14:46:43
混音过程中的回调监听函数,可以通过
[QNMicrophoneAudioTrack.CreateAudioMusicMixer](https://developer.qiniu.com/rtc/11990/QNAudioMusicMixerListener-
Linux/11210) 创建
[QN... | 6,682 |
QNMusicMixerState | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNMusicMixerState
# QNMusicMixerState
最近更新时间: 2022-06-20 14:49:01
背景音乐混音相关的回调状态,通过
[QNAudioMusicMixerListener.OnAudioMusicMixerStateChanged](https://developer.qiniu.com/rtc/11991/QNMusicMixerState-
Linux/11990) 接口回调
Index
Properties
* kStateIdle
* kS... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNMusicMixerState
# QNMusicMixerState
最近更新时间: 2022-06-20 14:49:01
背景音乐混音相关的回调状态,通过
[QNAudioMusicMixerListener.OnAudioMusicMixerStateChanged](https://developer.qiniu.com/rtc/11991/QNMusicMixerState-
Linux/11990) 接口回调
Index
Propert... | 6,686 |
API 概览 | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >API 概览
# API 概览
最近更新时间: 2022-03-29 00:26:19
QNRTC 是七牛云推出的一款跨平台平台的实时音视频 C++ SDK,提供了灵活的接口,支持高度定制以及二次开发。
> 本文档适用于 QNRTC 5.x+ 版本的 SDK,并不向下兼容。
QNRTC
QNRTC 提供 SDK 的入口方法,可以通过它进行 SDK 的初始化,各个类型 Track 的创建等操作。其核心方法如下:
创建 Track
方法 | 描述
---|---
[CreateMicrophon... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >API 概览
# API 概览
最近更新时间: 2022-03-29 00:26:19
QNRTC 是七牛云推出的一款跨平台平台的实时音视频 C++ SDK,提供了灵活的接口,支持高度定制以及二次开发。
> 本文档适用于 QNRTC 5.x+ 版本的 SDK,并不向下兼容。
QNRTC
QNRTC 提供 SDK 的入口方法,可以通过它进行 SDK 的初始化,各个类型 Track 的创建等操作。其核心方法如下:
创建 Track
方法 | 描述
... | 6,688 |
QNRTC | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTC
# QNRTC
最近更新时间: 2022-03-28 17:42:36
QNRTC 作为 SDK 的入口,提供创建本地音视频轨道,创建
[QNRTCClient](https://developer.qiniu.com/rtc/11216/QNRTC-
Linux/11288/QNRTCClient-Linux) 对象等一系列静态方法
Index
Core Methods
* GetVersion
* SetLogFile
* Init
* DeInint
* GetCa... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTC
# QNRTC
最近更新时间: 2022-03-28 17:42:36
QNRTC 作为 SDK 的入口,提供创建本地音视频轨道,创建
[QNRTCClient](https://developer.qiniu.com/rtc/11216/QNRTC-
Linux/11288/QNRTCClient-Linux) 对象等一系列静态方法
Index
Core Methods
* GetVersion
* SetLogFile
* ... | 6,694 |
QNRTCSetting | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCSetting
# QNRTCSetting
最近更新时间: 2022-03-28 17:43:31
SDK 的核心参数配置结构体
Index
Properties
* is_aec3_enabled
* is_maintain_resolution_enabled
* is_audio_redundant_enabled
* is_video_error_correction_enabled
* is_encoder_quality_mode_enabled
* is... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCSetting
# QNRTCSetting
最近更新时间: 2022-03-28 17:43:31
SDK 的核心参数配置结构体
Index
Properties
* is_aec3_enabled
* is_maintain_resolution_enabled
* is_audio_redundant_enabled
* is_video_error_correction_enabled
* is_encoder_q... | 6,706 |
QNRTCClient | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCClient
# QNRTCClient
最近更新时间: 2022-03-28 17:57:26
RTC 核心类,包含加入房间,离开房间,订阅、发布 Track,获取统计信息等功能
Index
Core Methods
* SetClientRole
* SetAutoSubscribe
* Join
* Leave
* GetConnectionState
* Publish
* UnPublish
* Subscribe
* UnSubscribe
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCClient
# QNRTCClient
最近更新时间: 2022-03-28 17:57:26
RTC 核心类,包含加入房间,离开房间,订阅、发布 Track,获取统计信息等功能
Index
Core Methods
* SetClientRole
* SetAutoSubscribe
* Join
* Leave
* GetConnectionState
* Publish
* UnPublish
* Su... | 6,709 |
QNRTCClientConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCClientConfig
# QNRTCClientConfig
最近更新时间: 2022-03-28 17:44:52
[QNRTCClient](https://developer.qiniu.com/rtc/11289/QNRTCClientConfig-
Linux/11288/QNRTCClient-Linux) 创建配置类,在
[QNRTC](https://developer.qiniu.com/rtc/11289/QNRTCClientConfig-
Linux/11216/QNRT... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCClientConfig
# QNRTCClientConfig
最近更新时间: 2022-03-28 17:44:52
[QNRTCClient](https://developer.qiniu.com/rtc/11289/QNRTCClientConfig-
Linux/11288/QNRTCClient-Linux) 创建配置类,在
[QNRTC](https://developer.qiniu.com/rtc/11289/QNRTCClie... | 6,720 |
QNClientMode | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNClientMode
# QNClientMode
最近更新时间: 2022-03-28 17:44:11
使用场景,当前分为通信场景和互动直播场景,在
[QNRTCClientConfig](https://developer.qiniu.com/rtc/11262/QNClientMode-
Linux/11289/QNRTCClientConfig-Linux) 中设置,建议根据不同需求选择不同场景,优化使用体验
Index
Properties
* kRtc
* kLive
Pro... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNClientMode
# QNClientMode
最近更新时间: 2022-03-28 17:44:11
使用场景,当前分为通信场景和互动直播场景,在
[QNRTCClientConfig](https://developer.qiniu.com/rtc/11262/QNClientMode-
Linux/11289/QNRTCClientConfig-Linux) 中设置,建议根据不同需求选择不同场景,优化使用体验
Index
Propertie... | 6,722 |
QNLocalAudioTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNLocalAudioTrack
# QNLocalAudioTrack
最近更新时间: 2022-03-28 22:34:51
本地音频 Track 基类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11207/QNLocalAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11207/QNLocalAu... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNLocalAudioTrack
# QNLocalAudioTrack
最近更新时间: 2022-03-28 22:34:51
本地音频 Track 基类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11207/QNLocalAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qin... | 6,724 |
QNMicrophoneAudioTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMicrophoneAudioTrack
# QNMicrophoneAudioTrack
最近更新时间: 2022-07-13 23:40:34
本地音频麦克风 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11210/QNMicrophoneAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rt... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMicrophoneAudioTrack
# QNMicrophoneAudioTrack
最近更新时间: 2022-07-13 23:40:34
本地音频麦克风 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11210/QNMicrophoneAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](http... | 6,728 |
QNCameraVideoTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraVideoTrack
# QNCameraVideoTrack
最近更新时间: 2022-03-28 17:53:28
本地视频相机 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11198/QNCameraVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11198/QNCam... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraVideoTrack
# QNCameraVideoTrack
最近更新时间: 2022-03-28 17:53:28
本地视频相机 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11198/QNCameraVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer... | 6,735 |
QNCustomAudioTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCustomAudioTrack
# QNCustomAudioTrack
最近更新时间: 2022-03-28 22:33:11
本地音频自定义导入 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11203/QNCustomAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11203/QN... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCustomAudioTrack
# QNCustomAudioTrack
最近更新时间: 2022-03-28 22:33:11
本地音频自定义导入 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11203/QNCustomAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://develo... | 6,741 |
QNRemoteTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteTrack
# QNRemoteTrack
最近更新时间: 2022-03-28 17:55:08
音视频远端 Track 基类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11213/QNRemoteTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11213/QNRemoteTrack-Linux/... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteTrack
# QNRemoteTrack
最近更新时间: 2022-03-28 17:55:08
音视频远端 Track 基类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11213/QNRemoteTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/... | 6,745 |
QNTranscodingLiveStreamingConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTranscodingLiveStreamingConfig
# QNTranscodingLiveStreamingConfig
最近更新时间: 2022-07-13 23:38:16
自定义合流配置信息
Index
Properties
* stream_id
* publish_url
* merge_background
* merge_watermark
* width
* height
* fps
* bitrate
* min_bitrate
*... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTranscodingLiveStreamingConfig
# QNTranscodingLiveStreamingConfig
最近更新时间: 2022-07-13 23:38:16
自定义合流配置信息
Index
Properties
* stream_id
* publish_url
* merge_background
* merge_watermark
* width
* height
* fps
* b... | 6,748 |
QNCameraCapability | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraCapability
# QNCameraCapability
最近更新时间: 2022-03-28 17:56:36
摄像头支持的采集能力
Index
Properties
* width
* height
* max_fps
* video_frame_type
Properties
width
* width: int
* 采集宽
height
* height: int
* 采集高
max_fps
* max_fps: int
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraCapability
# QNCameraCapability
最近更新时间: 2022-03-28 17:56:36
摄像头支持的采集能力
Index
Properties
* width
* height
* max_fps
* video_frame_type
Properties
width
* width: int
* 采集宽
height
* height: int
* 采集高
m... | 6,750 |
QNTrackInfoChangedListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTrackInfoChangedListener
# QNTrackInfoChangedListener
最近更新时间: 2022-03-28 17:58:09
Track 信息改变回调接口
Index
Core Methods
* OnVideoProfileChanged
* OnMuteStateChanged
Core Methods
OnVideoProfileChanged
* virtual void OnVideoProfileChanged(const std:... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTrackInfoChangedListener
# QNTrackInfoChangedListener
最近更新时间: 2022-03-28 17:58:09
Track 信息改变回调接口
Index
Core Methods
* OnVideoProfileChanged
* OnMuteStateChanged
Core Methods
OnVideoProfileChanged
* virtual void OnVide... | 6,751 |
QNCameraInfo | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraInfo
# QNCameraInfo
最近更新时间: 2022-03-28 17:58:45
摄像头设备信息
Index
Properties
* id
* name
* capabilities
Properties
id
* id: string
* 设备 Id,用于系统内做标识
name
* name: string
* 设备名
capabilities
* capabilities: std::vector<[QNCameraCap... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraInfo
# QNCameraInfo
最近更新时间: 2022-03-28 17:58:45
摄像头设备信息
Index
Properties
* id
* name
* capabilities
Properties
id
* id: string
* 设备 Id,用于系统内做标识
name
* name: string
* 设备名
capabilities
* capabilities... | 6,753 |
QNVideoEncoderConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNVideoEncoderConfig
# QNVideoEncoderConfig
最近更新时间: 2022-03-28 17:59:27
编码器类型
Index
Enum
* QNVideoEncoderType
Enum
QNVideoEncoderType
* code | describe | message
---|---|---
kEncodeOpenH264 | 默认 Open264 编码器,支持所有平台 | 无
Type declaration
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNVideoEncoderConfig
# QNVideoEncoderConfig
最近更新时间: 2022-03-28 17:59:27
编码器类型
Index
Enum
* QNVideoEncoderType
Enum
QNVideoEncoderType
* code | describe | message
---|---|---
kEncodeOpenH264 | 默认 Open264 编码器,支持所有平台 | 无... | 6,754 |
QNDirectLiveStreamingConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNDirectLiveStreamingConfig
# QNDirectLiveStreamingConfig
最近更新时间: 2022-03-28 18:40:10
单路转推配置信息,通过 SDK 将参数发送到服务端,服务端按照指定的参数进行 CDN 转推
Index
Properties
* local_audio_track
* local_video_track
* stream_id
* publish_url
Properties
local_audio_track
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNDirectLiveStreamingConfig
# QNDirectLiveStreamingConfig
最近更新时间: 2022-03-28 18:40:10
单路转推配置信息,通过 SDK 将参数发送到服务端,服务端按照指定的参数进行 CDN 转推
Index
Properties
* local_audio_track
* local_video_track
* stream_id
* publish_url
Prop... | 6,755 |
QNVideoFrameType | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoFrameType
# QNVideoFrameType
最近更新时间: 2022-05-24 22:11:40
视频数据格式
Index
Enum
* QNVideoFrameType
Enum
QNVideoFrameType
* Type declaration
* kUnknown
* kI420
* kIYUV
* kRGB24
* kABGR
* kARGB
* kARGB4444
*... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoFrameType
# QNVideoFrameType
最近更新时间: 2022-05-24 22:11:40
视频数据格式
Index
Enum
* QNVideoFrameType
Enum
QNVideoFrameType
* Type declaration
* kUnknown
* kI420
* kIYUV
* kRGB24
* kABGR
* kAR... | 6,757 |
QNTranscodingLiveStreamingTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTranscodingLiveStreamingTrack
# QNTranscodingLiveStreamingTrack
最近更新时间: 2022-03-28 22:31:39
旁路直播合流配置信息,通过 SDK 将参数发送到服务端,服务端按照指定的参数进行合流并推出 RTMP 流
Index
Properties
* track_id
* x
* y
* z
* width
* height
* stretch_mode
* is_support_sei
P... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTranscodingLiveStreamingTrack
# QNTranscodingLiveStreamingTrack
最近更新时间: 2022-03-28 22:31:39
旁路直播合流配置信息,通过 SDK 将参数发送到服务端,服务端按照指定的参数进行合流并推出 RTMP 流
Index
Properties
* track_id
* x
* y
* z
* width
* height
* stretch_... | 6,758 |
QNVideoCaptureConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNVideoCaptureConfig
# QNVideoCaptureConfig
最近更新时间: 2022-03-21 21:28:15
配置视频采集参数的结构体
Index
Properties
* width
* height
* frame_rate
Properties
width
* width: int32_t
* 设置视频采集宽度
height
* height: int32_t
* 设置视频采集高度
frame_rate
* frame... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNVideoCaptureConfig
# QNVideoCaptureConfig
最近更新时间: 2022-03-21 21:28:15
配置视频采集参数的结构体
Index
Properties
* width
* height
* frame_rate
Properties
width
* width: int32_t
* 设置视频采集宽度
height
* height: int32_t
* 设置视频采... | 6,760 |
QNCustomAudioTrackConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCustomAudioTrackConfig
# QNCustomAudioTrackConfig
最近更新时间: 2022-03-28 22:34:05
自定义音频采集 Track 的配置
Index
Properties
* audio_quality
* tag
Properties
audio_quality
* audio_quality: [QNAudioQuality](https://developer.qiniu.com/rtc/11204/QNCustomAud... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCustomAudioTrackConfig
# QNCustomAudioTrackConfig
最近更新时间: 2022-03-28 22:34:05
自定义音频采集 Track 的配置
Index
Properties
* audio_quality
* tag
Properties
audio_quality
* audio_quality: [QNAudioQuality](https://developer.qiniu... | 6,761 |
QNLocalAudioTrackStats | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLocalAudioTrackStats
# QNLocalAudioTrackStats
最近更新时间: 2022-03-23 13:58:30
本地发布的音频统计信息
Index
Properties
* uplink_bitrate
* uplink_rtt
* uplink_lostrate
Properties
uplink_bitrate
* uplink_bitrate: int32_t
* 上行音频码率
uplink_rtt
* uplink_rtt... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLocalAudioTrackStats
# QNLocalAudioTrackStats
最近更新时间: 2022-03-23 13:58:30
本地发布的音频统计信息
Index
Properties
* uplink_bitrate
* uplink_rtt
* uplink_lostrate
Properties
uplink_bitrate
* uplink_bitrate: int32_t
* 上行音频码率
... | 6,762 |
QNImageType | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNImageType
# QNImageType
最近更新时间: 2022-03-23 13:55:41
图片类型
Index
Enum
* QNImageType
Enum
QNImageType
* Type declaration
* kImagJpeg
* kImagPng
以上内容是否对您有帮助?
| * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNImageType
# QNImageType
最近更新时间: 2022-03-23 13:55:41
图片类型
Index
Enum
* QNImageType
Enum
QNImageType
* Type declaration
* kImagJpeg
* kImagPng
以上内容是否对您有帮助?
* __
* __
* __
* __
* __
文档反馈 (如有产品使用问题,请[ 提交工单](htt... | 6,763 |
QNRemoteVideoTrackStats | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNRemoteVideoTrackStats
# QNRemoteVideoTrackStats
最近更新时间: 2022-03-28 22:37:49
订阅远端的视频统计信息
Index
Properties
* profile
* downlink_framerate
* downlink_bitrate
* downlink_lostrate
* uplink_rtt
* uplink_lostrate
Properties
profile
* profile:... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNRemoteVideoTrackStats
# QNRemoteVideoTrackStats
最近更新时间: 2022-03-28 22:37:49
订阅远端的视频统计信息
Index
Properties
* profile
* downlink_framerate
* downlink_bitrate
* downlink_lostrate
* uplink_rtt
* uplink_lostrate
Propert... | 6,764 |
QNVideoRotation | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoRotation
# QNVideoRotation
最近更新时间: 2022-03-23 14:25:46
视频数据的旋转角度,主要用于对原始视频数据进行处理的功能接口中
Index
Enum
* QNVideoRotation
Enum
QNVideoRotation
* code | describe | message
---|---|---
kVideoRotation0 | 旋转 0 度 | 无
kVideoRotation90 | 旋转 90 度 |... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoRotation
# QNVideoRotation
最近更新时间: 2022-03-23 14:25:46
视频数据的旋转角度,主要用于对原始视频数据进行处理的功能接口中
Index
Enum
* QNVideoRotation
Enum
QNVideoRotation
* code | describe | message
---|---|---
kVideoRotation0 | 旋转 0 度 | 无
kV... | 6,766 |
QNConnectionState | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNConnectionState
# QNConnectionState
最近更新时间: 2022-03-28 22:39:59
连麦房间连接状态
Index
Properties
* kDisconnected
* kConnecting
* kConnected
* kReconnecting
* kReconnected
Properties
kDisconnected
* kDisconnected: QNConnectionState
* 未链接状态
SD... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNConnectionState
# QNConnectionState
最近更新时间: 2022-03-28 22:39:59
连麦房间连接状态
Index
Properties
* kDisconnected
* kConnecting
* kConnected
* kReconnecting
* kReconnected
Properties
kDisconnected
* kDisconnected: QNCon... | 6,767 |
QNClientEventListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNClientEventListener
# QNClientEventListener
最近更新时间: 2022-03-28 22:44:09
[QNRTCClient](https://developer.qiniu.com/rtc/11261/QNClientEventListener-
Linux/11288/QNRTCClient-Linux) 事件回调接口
Index
Core Methods
* OnConnectionStateChanged
* OnUserJoined
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNClientEventListener
# QNClientEventListener
最近更新时间: 2022-03-28 22:44:09
[QNRTCClient](https://developer.qiniu.com/rtc/11261/QNClientEventListener-
Linux/11288/QNRTCClient-Linux) 事件回调接口
Index
Core Methods
* OnConnectionStateC... | 6,769 |
QNVideoEncoderType | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoEncoderType
# QNVideoEncoderType
最近更新时间: 2022-05-24 22:10:23
编码器类型
Index
Enum
* QNVideoEncoderType
Enum
QNVideoEncoderType
* code | describe | message
---|---|---
kEncodeOpenH264 | 默认 Open264 编码器,支持所有平台 | 无
kExternal | H264 用于数据透传 | 无... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoEncoderType
# QNVideoEncoderType
最近更新时间: 2022-05-24 22:10:23
编码器类型
Index
Enum
* QNVideoEncoderType
Enum
QNVideoEncoderType
* code | describe | message
---|---|---
kEncodeOpenH264 | 默认 Open264 编码器,支持所有平台 | 无
k... | 6,774 |
QNAudioDeviceInfo | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioDeviceInfo
# QNAudioDeviceInfo
最近更新时间: 2022-03-23 21:10:38
音频设备信息
Index
Properties
* id
* name
* is_default
Properties
id
* id: string
* 设备 ID
name
* name: string
* 设备名
is_default
* is_default: bool
* 是否是系统默认设备
以上内容是否对您有帮... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioDeviceInfo
# QNAudioDeviceInfo
最近更新时间: 2022-03-23 21:10:38
音频设备信息
Index
Properties
* id
* name
* is_default
Properties
id
* id: string
* 设备 ID
name
* name: string
* 设备名
is_default
* is_default: bool... | 6,775 |
QNCustomMessage | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCustomMessage
# QNCustomMessage
最近更新时间: 2022-03-23 13:52:53
自定义消息
Index
Properties
* msg_id
* msg_sendid
* msg_text
* msg_stamp
Properties
msg_id
* msg_id: string
* 消息唯一 id
msg_sendid
* msg_sendid: string
* 消息发送者的 user id
msg_text... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCustomMessage
# QNCustomMessage
最近更新时间: 2022-03-23 13:52:53
自定义消息
Index
Properties
* msg_id
* msg_sendid
* msg_text
* msg_stamp
Properties
msg_id
* msg_id: string
* 消息唯一 id
msg_sendid
* msg_sendid: string
... | 6,776 |
QNVideoFrameListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNVideoFrameListener
# QNVideoFrameListener
最近更新时间: 2022-03-28 22:45:43
视频数据回调接口
Index
Core Methods
* OnVideoFrame
Core Methods
OnVideoFrame
* virtual void OnVideoFrame(const std::string& user_id,const string& track_id,const uint8_t* data,uint32_t... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNVideoFrameListener
# QNVideoFrameListener
最近更新时间: 2022-03-28 22:45:43
视频数据回调接口
Index
Core Methods
* OnVideoFrame
Core Methods
OnVideoFrame
* virtual void OnVideoFrame(const std::string& user_id,const string& track_id,co... | 6,777 |
QNAudioDeviceState | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioDeviceState
# QNAudioDeviceState
最近更新时间: 2022-03-23 13:38:43
音频设备当前状态,用与设备插拔的检测和通知
Index
Enum
* QNAudioDeviceState
Enum
QNAudioDeviceState
* code | describe | message
---|---|---
kAudioDeviceActive | 新的可用设备 | 无
kAudioDeviceDisabled | ... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioDeviceState
# QNAudioDeviceState
最近更新时间: 2022-03-23 13:38:43
音频设备当前状态,用与设备插拔的检测和通知
Index
Enum
* QNAudioDeviceState
Enum
QNAudioDeviceState
* code | describe | message
---|---|---
kAudioDeviceActive | 新的可用设备 | 无... | 6,778 |
QNAudioQuality | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioQuality
# QNAudioQuality
最近更新时间: 2022-03-21 20:54:02
描述音频质量的配置属性
Index
Properties
* sample_rate
* channel_count
* bits_per_sample
* bitrate
Properties
sample_rate
* sample_rate: int32_t
* 采样率,出于对 Android 设备兼容性的考虑,语音通话场景下建议使用 16kHz 的... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioQuality
# QNAudioQuality
最近更新时间: 2022-03-21 20:54:02
描述音频质量的配置属性
Index
Properties
* sample_rate
* channel_count
* bits_per_sample
* bitrate
Properties
sample_rate
* sample_rate: int32_t
* 采样率,出于对 Android 设备... | 6,780 |
QNClientRoleListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNClientRoleListener
# QNClientRoleListener
最近更新时间: 2022-03-28 22:47:08
角色设置回调接口,可通过调用
[QNRTCClient.SetClientRole](https://developer.qiniu.com/rtc/11264/QNClientRoleListener-
Linux/11288) 传入
Index
Core Methods
* OnClientRoleResult
* OnClientRoleError... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNClientRoleListener
# QNClientRoleListener
最近更新时间: 2022-03-28 22:47:08
角色设置回调接口,可通过调用
[QNRTCClient.SetClientRole](https://developer.qiniu.com/rtc/11264/QNClientRoleListener-
Linux/11288) 传入
Index
Core Methods
* OnClientRoleRe... | 6,781 |
QNLocalVideoTrackStats | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLocalVideoTrackStats
# QNLocalVideoTrackStats
最近更新时间: 2022-03-28 22:48:40
本地发布的视频统计信息
Index
Properties
* profile
* uplink_framerate
* uplink_bitrate
* uplink_rtt
* uplink_lostrate
Properties
profile
* profile: [QNTrackProfile](https://de... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLocalVideoTrackStats
# QNLocalVideoTrackStats
最近更新时间: 2022-03-28 22:48:40
本地发布的视频统计信息
Index
Properties
* profile
* uplink_framerate
* uplink_bitrate
* uplink_rtt
* uplink_lostrate
Properties
profile
* profile: [... | 6,783 |
QNMediaRelayState | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNMediaRelayState
# QNMediaRelayState
最近更新时间: 2022-03-23 14:04:27
跨房媒体转发状态
Index
Properties
* kRelayUnknown
* kRelaySuccess
* kRelayStopped
* kInvalidToken
* kRelayNoRoom
* kRelayRoomClosed
* kRelayPlayerExisted
Properties
kRelayUnknown
... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNMediaRelayState
# QNMediaRelayState
最近更新时间: 2022-03-23 14:04:27
跨房媒体转发状态
Index
Properties
* kRelayUnknown
* kRelaySuccess
* kRelayStopped
* kInvalidToken
* kRelayNoRoom
* kRelayRoomClosed
* kRelayPlayerExisted
P... | 6,785 |
QNRemoteAudioMixedFrameListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNRemoteAudioMixedFrameListener
# QNRemoteAudioMixedFrameListener
最近更新时间: 2022-03-23 14:08:51
远端各用户音频数据混音后的回调接口
Index
Core Methods
* OnRemoteAudioMixedFrame
Core Methods
OnRemoteAudioMixedFrame
* virtual void OnRemoteAudioMixedFrame(const uint8_t*... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNRemoteAudioMixedFrameListener
# QNRemoteAudioMixedFrameListener
最近更新时间: 2022-03-23 14:08:51
远端各用户音频数据混音后的回调接口
Index
Core Methods
* OnRemoteAudioMixedFrame
Core Methods
OnRemoteAudioMixedFrame
* virtual void OnRemoteAudi... | 6,787 |
QNLiveStreamingListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLiveStreamingListener
# QNLiveStreamingListener
最近更新时间: 2022-03-28 22:53:37
CDN 转推结果通知接口
Index
Core Methods
* OnStarted
* OnStopped
* OnTranscodingTracksUpdated
* OnLiveStreamingError
Core Methods
OnStarted
* virtual void OnStarted(const s... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLiveStreamingListener
# QNLiveStreamingListener
最近更新时间: 2022-03-28 22:53:37
CDN 转推结果通知接口
Index
Core Methods
* OnStarted
* OnStopped
* OnTranscodingTracksUpdated
* OnLiveStreamingError
Core Methods
OnStarted
* virt... | 6,789 |
QNLogLevel | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNLogLevel
# QNLogLevel
最近更新时间: 2022-03-23 14:00:49
日志级别
Index
Enum
* QNLogLevel
Enum
QNLogLevel
* Type declaration
* kLogNone
* kLogVerbose
* kLogInfo
* kLogWarning
* kLogError
以上内容是否对您有帮助?
| * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNLogLevel
# QNLogLevel
最近更新时间: 2022-03-23 14:00:49
日志级别
Index
Enum
* QNLogLevel
Enum
QNLogLevel
* Type declaration
* kLogNone
* kLogVerbose
* kLogInfo
* kLogWarning
* kLogError
以上内容是否对您有帮助?
* _... | 6,791 |
QNCustomVideoTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCustomVideoTrack
# QNCustomVideoTrack
最近更新时间: 2022-05-24 22:05:49
本地视频自定义导入 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11205/QNCustomVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11205/QN... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCustomVideoTrack
# QNCustomVideoTrack
最近更新时间: 2022-05-24 22:05:49
本地视频自定义导入 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11205/QNCustomVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://develo... | 6,792 |
QNCustomVideoTrackConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCustomVideoTrackConfig
# QNCustomVideoTrackConfig
最近更新时间: 2022-05-24 22:07:41
自定义视频采集 Track 的配置
Index
Properties
* encoder_config
* tag
* multi_profile_enabled
* frame_type
Properties
encoder_config
* encoder_config: [QNVideoEncoderConfig]... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCustomVideoTrackConfig
# QNCustomVideoTrackConfig
最近更新时间: 2022-05-24 22:07:41
自定义视频采集 Track 的配置
Index
Properties
* encoder_config
* tag
* multi_profile_enabled
* frame_type
Properties
encoder_config
* encoder_conf... | 6,796 |
QNLocalVideoTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNLocalVideoTrack
# QNLocalVideoTrack
最近更新时间: 2022-03-28 22:57:09
本地视频 Track 基类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11209/QNLocalVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11209/QNLocalVi... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNLocalVideoTrack
# QNLocalVideoTrack
最近更新时间: 2022-03-28 22:57:09
本地视频 Track 基类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11209/QNLocalVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qin... | 6,798 |
QNStretchMode | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNStretchMode
# QNStretchMode
最近更新时间: 2022-03-23 14:18:21
画面渲染窗口填充方式
Index
Enum
* QNStretchMode
Enum
QNStretchMode
* code | describe | message
---|---|---
kStretchInvalid | 无效值 | 无
kStretchFill | 在保持长宽比的前提下,缩放视频,使其充满容器 | 无
kStretchFit | 在保... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNStretchMode
# QNStretchMode
最近更新时间: 2022-03-23 14:18:21
画面渲染窗口填充方式
Index
Enum
* QNStretchMode
Enum
QNStretchMode
* code | describe | message
---|---|---
kStretchInvalid | 无效值 | 无
kStretchFill | 在保持长宽比的前提下,缩放视频,使其充... | 6,801 |
QNVideoDeviceState | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoDeviceState
# QNVideoDeviceState
最近更新时间: 2022-03-28 23:01:02
摄像头设备状态,SDK 提供设备插拔状态的监控,以下用于标识设备被插入还是拔出设备状态变化后,建议通过
[QNRTC](https://developer.qiniu.com/rtc/11298/QNVideoDeviceState-
Linux/11216/QNRTC-Linux).GetCameraCount 重新获取摄像头设备列表
Index
Enum
* Q... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNVideoDeviceState
# QNVideoDeviceState
最近更新时间: 2022-03-28 23:01:02
摄像头设备状态,SDK 提供设备插拔状态的监控,以下用于标识设备被插入还是拔出设备状态变化后,建议通过
[QNRTC](https://developer.qiniu.com/rtc/11298/QNVideoDeviceState-
Linux/11216/QNRTC-Linux).GetCameraCount 重新获取摄... | 6,802 |
QNConnectionDisconnectedInfo | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNConnectionDisconnectedInfo
# QNConnectionDisconnectedInfo
最近更新时间: 2022-03-28 23:01:49
房间断开时的相关信息
Index
Properties
* reason
* error_code
* error_message
Enum
* Reason
Properties
reason
* reason: Reason
* 获取用户房间断开的原因
code | describe | m... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNConnectionDisconnectedInfo
# QNConnectionDisconnectedInfo
最近更新时间: 2022-03-28 23:01:49
房间断开时的相关信息
Index
Properties
* reason
* error_code
* error_message
Enum
* Reason
Properties
reason
* reason: Reason
* 获取用户房间... | 6,804 |
QNMediaRelayConfiguration | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMediaRelayConfiguration
# QNMediaRelayConfiguration
最近更新时间: 2022-03-28 23:03:38
跨房媒体转发配置信息
Index
Properties
* src_room_info
* dest_room_infos
Properties
src_room_info
* src_room_info: [QNMediaRelayInfo](https://developer.qiniu.com/rtc/11276/QN... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMediaRelayConfiguration
# QNMediaRelayConfiguration
最近更新时间: 2022-03-28 23:03:38
跨房媒体转发配置信息
Index
Properties
* src_room_info
* dest_room_infos
Properties
src_room_info
* src_room_info: [QNMediaRelayInfo](https://develo... | 6,807 |
QNCameraEventListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCameraEventListener
# QNCameraEventListener
最近更新时间: 2022-03-28 23:04:31
摄像头开启,采集异常通知
Index
Core Methods
* OnCameraError
Core Methods
OnCameraError
* virtual void OnCameraError(int error_code, const std::string& error_message)
* 相机失败回调
Paramet... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCameraEventListener
# QNCameraEventListener
最近更新时间: 2022-03-28 23:04:31
摄像头开启,采集异常通知
Index
Core Methods
* OnCameraError
Core Methods
OnCameraError
* virtual void OnCameraError(int error_code, const std::string& error_me... | 6,808 |
QNRemoteAudioTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteAudioTrack
# QNRemoteAudioTrack
最近更新时间: 2022-03-28 23:06:54
音频远端 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11212/QNRemoteAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11212/QNRemot... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteAudioTrack
# QNRemoteAudioTrack
最近更新时间: 2022-03-28 23:06:54
音频远端 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11212/QNRemoteAudioTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.q... | 6,809 |
QNNetworkGrade | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNNetworkGrade
# QNNetworkGrade
最近更新时间: 2022-03-23 14:05:14
网络状态
Index
Properties
* kINVALID
* kEXCELLENT
* kGOOD
* kFAIR
* kPOOR
Properties
kINVALID
* kINVALID: QNNetworkGrade
* 当前网络未知
kEXCELLENT
* kEXCELLENT: QNNetworkGrade
* 当前网... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNNetworkGrade
# QNNetworkGrade
最近更新时间: 2022-03-23 14:05:14
网络状态
Index
Properties
* kINVALID
* kEXCELLENT
* kGOOD
* kFAIR
* kPOOR
Properties
kINVALID
* kINVALID: QNNetworkGrade
* 当前网络未知
kEXCELLENT
* kEXCELLE... | 6,813 |
QNRemoteAudioTrackStats | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNRemoteAudioTrackStats
# QNRemoteAudioTrackStats
最近更新时间: 2022-03-23 14:09:47
订阅远端的音频统计信息
Index
Properties
* downlink_bitrate
* downlink_lostrate
* uplink_rtt
* uplink_lostrate
Properties
downlink_bitrate
* downlink_bitrate: int32_t
* 下行音频... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNRemoteAudioTrackStats
# QNRemoteAudioTrackStats
最近更新时间: 2022-03-23 14:09:47
订阅远端的音频统计信息
Index
Properties
* downlink_bitrate
* downlink_lostrate
* uplink_rtt
* uplink_lostrate
Properties
downlink_bitrate
* downlink... | 6,814 |
QNTrackProfile | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNTrackProfile
# QNTrackProfile
最近更新时间: 2022-03-23 14:19:14
Track 质量等级
Index
Enum
* QNTrackProfile
Enum
QNTrackProfile
* code | describe | message
---|---|---
kHigh | 高质量 | 无
kMedium | 普通质量 | 无
kLow | 低质量 | 无
Type declaration
* k... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNTrackProfile
# QNTrackProfile
最近更新时间: 2022-03-23 14:19:14
Track 质量等级
Index
Enum
* QNTrackProfile
Enum
QNTrackProfile
* code | describe | message
---|---|---
kHigh | 高质量 | 无
kMedium | 普通质量 | 无
kLow | 低质量 | 无
... | 6,815 |
QNNetworkQuality | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNNetworkQuality
# QNNetworkQuality
最近更新时间: 2022-03-28 23:10:44
网络上下行质量
Index
Properties
* uplink_network_grade
* downlink_network_grade
Properties
uplink_network_grade
* uplink_network_grade: [QNNetworkGrade](https://developer.qiniu.com/rtc/112... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNNetworkQuality
# QNNetworkQuality
最近更新时间: 2022-03-28 23:10:44
网络上下行质量
Index
Properties
* uplink_network_grade
* downlink_network_grade
Properties
uplink_network_grade
* uplink_network_grade: [QNNetworkGrade](https://d... | 6,816 |
QNPublishResultCallback | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNPublishResultCallback
# QNPublishResultCallback
最近更新时间: 2022-03-23 14:08:11
发布结果回调接口
Index
Core Methods
* OnPublished
* OnPublishError
Core Methods
OnPublished
* virtual void OnPublished() = 0
* 发布成功后触发此回调
OnPublishError
* virtual void O... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNPublishResultCallback
# QNPublishResultCallback
最近更新时间: 2022-03-23 14:08:11
发布结果回调接口
Index
Core Methods
* OnPublished
* OnPublishError
Core Methods
OnPublished
* virtual void OnPublished() = 0
* 发布成功后触发此回调
OnPublis... | 6,817 |
QNRemoteVideoTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteVideoTrack
# QNRemoteVideoTrack
最近更新时间: 2022-03-28 23:20:04
视频远端 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11215/QNRemoteVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.qiniu.com/rtc/11215/QNRemot... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteVideoTrack
# QNRemoteVideoTrack
最近更新时间: 2022-03-28 23:20:04
视频远端 Track 类
Hierarchy
* [QNTrack](https://developer.qiniu.com/rtc/11215/QNRemoteVideoTrack-Linux/11222/QNTrack-Linux)
* [QNLocalTrack](https://developer.q... | 6,818 |
QNCameraDeviceInfo | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraDeviceInfo
# QNCameraDeviceInfo
最近更新时间: 2022-03-28 23:21:50
摄像头设备信息
Index
Properties
* id
* name
* capabilities
Properties
id
* id: string
* 设备 Id,用于系统内做标识
name
* name: string
* 设备名
capabilities
* capabilities: std::vector<... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNCameraDeviceInfo
# QNCameraDeviceInfo
最近更新时间: 2022-03-28 23:21:50
摄像头设备信息
Index
Properties
* id
* name
* capabilities
Properties
id
* id: string
* 设备 Id,用于系统内做标识
name
* name: string
* 设备名
capabilities
* ... | 6,822 |
QNMicrophoneAudioTrackConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMicrophoneAudioTrackConfig
# QNMicrophoneAudioTrackConfig
最近更新时间: 2022-03-28 23:23:21
麦克风音频采集 Track 的配置
Index
Properties
* audio_quality
* tag
Properties
audio_quality
* audio_quality: [QNAudioQuality](https://developer.qiniu.com/rtc/11211/QNM... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMicrophoneAudioTrackConfig
# QNMicrophoneAudioTrackConfig
最近更新时间: 2022-03-28 23:23:21
麦克风音频采集 Track 的配置
Index
Properties
* audio_quality
* tag
Properties
audio_quality
* audio_quality: [QNAudioQuality](https://develop... | 6,823 |
QNTransportPolicy | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNTransportPolicy
# QNTransportPolicy
最近更新时间: 2022-03-23 14:22:05
媒体传输协议配置
Index
Enum
* QNTransportPolicy
Enum
QNTransportPolicy
* code | describe | message
---|---|---
kForceUDP | 强制 UDP | 无
kForceTCP | 强制 TCP | 无
kPreferUDP | 优先 UDP | 默认... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNTransportPolicy
# QNTransportPolicy
最近更新时间: 2022-03-23 14:22:05
媒体传输协议配置
Index
Enum
* QNTransportPolicy
Enum
QNTransportPolicy
* code | describe | message
---|---|---
kForceUDP | 强制 UDP | 无
kForceTCP | 强制 TCP | 无 ... | 6,824 |
QNClientRole | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNClientRole
# QNClientRole
最近更新时间: 2022-03-28 23:24:53
角色类型,当前仅适用于互动直播场景,通过
[QNRTCClient.SetClientRole](https://developer.qiniu.com/rtc/11263/QNClientRole-
Linux/11288) 来进行设置
Index
Properties
* kBroadcaster
* kAudience
Properties
kBroadcaster
*... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNClientRole
# QNClientRole
最近更新时间: 2022-03-28 23:24:53
角色类型,当前仅适用于互动直播场景,通过
[QNRTCClient.SetClientRole](https://developer.qiniu.com/rtc/11263/QNClientRole-
Linux/11288) 来进行设置
Index
Properties
* kBroadcaster
* kAudience
Pro... | 6,825 |
QNFocusCoordinates | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNFocusCoordinates
# QNFocusCoordinates
最近更新时间: 2022-03-23 13:54:54
焦点坐标信息
Index
Properties
* x
* y
* width
* height
Properties
x
* x: float
* 焦点 x 坐标
y
* y: float
* 焦点 y 坐标
width
* width: int
* 焦点 width
height
* height: in... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNFocusCoordinates
# QNFocusCoordinates
最近更新时间: 2022-03-23 13:54:54
焦点坐标信息
Index
Properties
* x
* y
* width
* height
Properties
x
* x: float
* 焦点 x 坐标
y
* y: float
* 焦点 y 坐标
width
* width: int
* 焦点 wid... | 6,826 |
QNLiveStreamingErrorInfo | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLiveStreamingErrorInfo
# QNLiveStreamingErrorInfo
最近更新时间: 2022-03-23 13:56:54
CDN 转推结果信息
Index
Properties
* type
* code
* message
Enum
* Type
Properties
type
* type: Type
* 转推类型
code | describe | message
---|---|---
kStart | 开始转推 ... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNLiveStreamingErrorInfo
# QNLiveStreamingErrorInfo
最近更新时间: 2022-03-23 13:56:54
CDN 转推结果信息
Index
Properties
* type
* code
* message
Enum
* Type
Properties
type
* type: Type
* 转推类型
code | describe | message
--... | 6,827 |
QNTrack | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNTrack
# QNTrack
最近更新时间: 2022-03-28 23:26:10
音视频 Track 基类
Hierarchy
* QNTrack
* [QNLocalTrack](https://developer.qiniu.com/rtc/11222/QNTrack-Linux/11208/QNLocalTrack-Linux)
* [QNLocalVideoTrack](https://developer.qiniu.com/rtc/11222/QNTrack-... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNTrack
# QNTrack
最近更新时间: 2022-03-28 23:26:10
音视频 Track 基类
Hierarchy
* QNTrack
* [QNLocalTrack](https://developer.qiniu.com/rtc/11222/QNTrack-Linux/11208/QNLocalTrack-Linux)
* [QNLocalVideoTrack](https://developer.qi... | 6,828 |
QNMediaRelayListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMediaRelayListener
# QNMediaRelayListener
最近更新时间: 2022-03-28 23:27:25
跨房媒体转发回调接口,可通过调用
[QNRTCClient.StartMediaRelay](https://developer.qiniu.com/rtc/11278/QNMediaRelayListener-
Linux/11288) 等方法传入
Index
Core Methods
* OnMediaRelayResult
* OnMediaRel... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNMediaRelayListener
# QNMediaRelayListener
最近更新时间: 2022-03-28 23:27:25
跨房媒体转发回调接口,可通过调用
[QNRTCClient.StartMediaRelay](https://developer.qiniu.com/rtc/11278/QNMediaRelayListener-
Linux/11288) 等方法传入
Index
Core Methods
* OnMedia... | 6,830 |
QNTranscodingLiveStreamingImage | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTranscodingLiveStreamingImage
# QNTranscodingLiveStreamingImage
最近更新时间: 2022-03-23 14:20:46
合流背景、水印配置参数
Index
Properties
* layer_url
* x
* y
* layer_width
* layer_height
Properties
layer_url
* layer_url: string
* 合流背景、水印图片 http 网路地址
x... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNTranscodingLiveStreamingImage
# QNTranscodingLiveStreamingImage
最近更新时间: 2022-03-23 14:20:46
合流背景、水印配置参数
Index
Properties
* layer_url
* x
* y
* layer_width
* layer_height
Properties
layer_url
* layer_url: string
... | 6,833 |
QNRemoteUser | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteUser
# QNRemoteUser
最近更新时间: 2022-03-28 23:31:36
远端用户信息
Index
Properties
* user_id
* user_data
* remote_audio_track_list
* remote_video_track_list
Properties
user_id
* user_id: string
* 远端用户的 userID
user_data
* user_data: string... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRemoteUser
# QNRemoteUser
最近更新时间: 2022-03-28 23:31:36
远端用户信息
Index
Properties
* user_id
* user_data
* remote_audio_track_list
* remote_video_track_list
Properties
user_id
* user_id: string
* 远端用户的 userID
user_d... | 6,834 |
QNNetworkQualityListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNNetworkQualityListener
# QNNetworkQualityListener
最近更新时间: 2022-03-28 23:32:18
网络状态监听
Index
Core Methods
* OnNetworkQualityNotified
Core Methods
OnNetworkQualityNotified
* virtual void OnNetworkQualityNotified(const [QNNetworkQuality](https://dev... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNNetworkQualityListener
# QNNetworkQualityListener
最近更新时间: 2022-03-28 23:32:18
网络状态监听
Index
Core Methods
* OnNetworkQualityNotified
Core Methods
OnNetworkQualityNotified
* virtual void OnNetworkQualityNotified(const [QNN... | 6,836 |
QNRTCEventListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCEventListener
# QNRTCEventListener
最近更新时间: 2022-03-28 23:35:16
QNRTC 全局事件回调接口,用来监听设备相关的回调事件。可以在 QNRTC 的初始化函数 QNRTC.init 中传入。
Index
Core Methods
* OnVideoDeviceStateChanged
* OnAudioDeviceStateChanged
Core Methods
OnVideoDeviceStateChanged
*... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNRTCEventListener
# QNRTCEventListener
最近更新时间: 2022-03-28 23:35:16
QNRTC 全局事件回调接口,用来监听设备相关的回调事件。可以在 QNRTC 的初始化函数 QNRTC.init 中传入。
Index
Core Methods
* OnVideoDeviceStateChanged
* OnAudioDeviceStateChanged
Core Methods
OnVi... | 6,837 |
QNAudioDevice | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioDevice
# QNAudioDevice
最近更新时间: 2022-03-23 13:35:50
音频设备类型
Index
Enum
* QNAudioDevice
Enum
QNAudioDevice
* code | describe | message
---|---|---
SPEAKER_PHONE | 扬声器 | 无
EARPIECE | 听筒 | 无
WIRED_HEADSET | 有线耳机 | 无
BLUETOOTH | 蓝牙 | 无 ... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux >QNAudioDevice
# QNAudioDevice
最近更新时间: 2022-03-23 13:35:50
音频设备类型
Index
Enum
* QNAudioDevice
Enum
QNAudioDevice
* code | describe | message
---|---|---
SPEAKER_PHONE | 扬声器 | 无
EARPIECE | 听筒 | 无
WIRED_HEADSET | 有线耳机... | 6,839 |
QNAudioFrameListener | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNAudioFrameListener
# QNAudioFrameListener
最近更新时间: 2022-03-21 20:52:34
音频数据回调接口
Index
Core Methods
* OnAudioFrame
Core Methods
OnAudioFrame
* virtual void OnAudioFrame(const string& user_id,const string& track_id,const uint8_t* data, uint32_t dat... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNAudioFrameListener
# QNAudioFrameListener
最近更新时间: 2022-03-21 20:52:34
音频数据回调接口
Index
Core Methods
* OnAudioFrame
Core Methods
OnAudioFrame
* virtual void OnAudioFrame(const string& user_id,const string& track_id,const u... | 6,840 |
QNCameraVideoTrackConfig | 实时音视频 | [实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCameraVideoTrackConfig
# QNCameraVideoTrackConfig
最近更新时间: 2022-03-28 23:36:23
摄像头视频采集 Track 的配置
Index
Properties
* encoder_config
* capture_config
* id
* tag
* multi_profile_enabled
* camera_facing
Properties
encoder_config
* encoder_c... | * __
* __
* __
* __
* __
[实时音视频](https://developer.qiniu.com/rtc) > API 文档 > Linux
>QNCameraVideoTrackConfig
# QNCameraVideoTrackConfig
最近更新时间: 2022-03-28 23:36:23
摄像头视频采集 Track 的配置
Index
Properties
* encoder_config
* capture_config
* id
* tag
* multi_profile_enabled
* camera_facing
Properties
enc... | 6,842 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.