Show / Hide Table of Contents

Struct TRTCAudioFrame

6.7 音频帧数据

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public struct TRTCAudioFrame

Fields

audioFormat

音频帧的格式

Declaration
public TRTCAudioFrameFormat audioFormat
Field Value
Type Description
TRTCAudioFrameFormat

channel

声道数

Declaration
public UInt32 channel
Field Value
Type Description
UInt32

data

音频数据

Declaration
public byte[] data
Field Value
Type Description
System.Byte[]

length

音频数据的长度

Declaration
public UInt32 length
Field Value
Type Description
UInt32

sampleRate

采样率

Declaration
public UInt32 sampleRate
Field Value
Type Description
UInt32

timestamp

时间戳,单位ms

Declaration
public UInt64 timestamp
Field Value
Type Description
UInt64
In This Article
Back to top Generated by DocFX