类型定义 | |
| typedef HWND | TXView |
| typedef TXMediaDeviceType | TRTCDeviceType |
| typedef TXMediaDeviceState | TRTCDeviceState |
| typedef ITXDeviceCollection | ITRTCDeviceCollection |
| typedef ITXDeviceInfo | ITRTCDeviceInfo |
枚举 | |
| enum | TRTCVideoResolution |
| enum | TRTCVideoResolutionMode |
| enum | TRTCVideoStreamType |
| enum | TRTCVideoFillMode |
| enum | TRTCVideoRotation |
| enum | TRTCBeautyStyle |
| enum | TRTCVideoPixelFormat |
| enum | TRTCVideoBufferType |
| enum | TRTCVideoMirrorType |
| enum | TRTCSnapshotSourceType |
| enum | TRTCAppScene |
| enum | TRTCRoleType |
| enum | TRTCQosControlMode |
| enum | TRTCVideoQosPreference |
| enum | TRTCQuality |
| enum | TRTCAVStatusType |
| enum | TRTCAVStatusChangeReason |
| enum | TRTCAudioQuality |
| enum | TRTCAudioFrameFormat |
| enum | TRTCLogLevel |
| enum | TRTCScreenCaptureSourceType |
| enum | TRTCTranscodingConfigMode |
| enum | TRTCLocalRecordType |
| enum | TRTCMixInputType |
| enum | TRTCWaterMarkSrcType |
| enum | TRTCAudioRecordingContent |
| enum | V2TXLiveCode |
| enum | V2TXLiveMode |
| enum | V2TXLiveImageType |
音效相关的枚举值定义 | |
| enum | TXVoiceReverbType |
音视频设备相关的类型定义 | |
| enum | TXSystemVolumeType |
| enum | TXAudioRoute |
| enum | TXMediaDeviceType |
| enum | TXMediaDeviceState |
| enum | TXCameraCaptureMode |
视频相关类型定义 | |
| enum | V2TXLiveVideoResolution |
| enum | V2TXLiveVideoResolutionMode |
| enum | V2TXLiveMirrorType |
| enum | V2TXLiveFillMode |
| enum | V2TXLiveRotation |
| enum | V2TXLivePixelFormat |
| enum | V2TXLiveBufferType |
音频相关类型定义 | |
| enum | V2TXLiveAudioQuality |
连接状态相关枚举值定义 | |
| enum | V2TXLivePushStatus |
公共配置组件有关的枚举值的定义 | |
| enum | V2TXLiveLogLevel |
屏幕分享有关的定义 | |
| enum | V2TXLiveScreenCaptureSourceType |
| enum TXAudioRoute |
音频路由(即声音的播放模式)
音频路由,即声音是从手机的扬声器还是从听筒中播放出来,因此该接口仅适用于手机等移动端设备。 手机有两个扬声器:一个是位于手机顶部的听筒,一个是位于手机底部的立体声扬声器。
| 枚举值 | |
|---|---|
| TXAudioRouteSpeakerphone | Speakerphone:使用扬声器播放(即“免提”),扬声器位于手机底部,声音偏大,适合外放音乐。 |
| TXAudioRouteEarpiece | Earpiece:使用听筒播放,听筒位于手机顶部,声音偏小,适合需要保护隐私的通话场景。 |
| enum TXCameraCaptureMode |
摄像头采集偏好
该枚举类型用于摄像头采集参数设置。
| enum TXMediaDeviceState |
设备操作
该枚举值用于本地设备的状态变化通知onDeviceChanged。
| 枚举值 | |
|---|---|
| TXMediaDeviceStateAdd | 设备已被插入 |
| TXMediaDeviceStateRemove | 设备已被移除 |
| TXMediaDeviceStateActive | 设备已启用 |
| enum TXMediaDeviceType |
| enum TXSystemVolumeType |
系统音量类型(仅适用于移动设备)
现代智能手机中一般都具备两套系统音量类型,即“通话音量”和“媒体音量”。
SDK 目前提供了三种系统音量类型的控制模式:自动切换模式、全程通话音量模式、全程媒体音量模式。
| 枚举值 | |
|---|---|
| TXSystemVolumeTypeAuto | 自动切换模式 |
| TXSystemVolumeTypeMedia | 全程媒体音量 |
| TXSystemVolumeTypeVOIP | 全程通话音量 |
| enum TXVoiceReverbType |
混响特效
混响特效可以作用于人声之上,通过声学算法对声音进行叠加处理,模拟出各种不同环境下的临场感受,目前支持如下几种混响效果: 0:关闭;1:KTV;2:小房间;3:大会堂;4:低沉;5:洪亮;6:金属声;7:磁性;8:空灵;9:录音棚;10:悠扬;11:留声机;12:自然。
| enum V2TXLiveAudioQuality |
| enum V2TXLiveBufferType |
| enum V2TXLiveCode |
| enum V2TXLiveFillMode |
| enum V2TXLiveImageType |
| enum V2TXLiveLogLevel |
日志级别枚举值
| enum V2TXLiveMirrorType |
| enum V2TXLiveMode |
| enum V2TXLivePixelFormat |
| enum V2TXLivePushStatus |
| enum V2TXLiveRotation |
视频分辨率