MediaStatsReportSample interface

来自“sampleReported”事件的媒体统计信息

属性

audio
screenShare
transports
video

属性详细信息

audio

audio: { receive: IncomingAudioMediaStats<number, string>[], send: OutgoingAudioMediaStats<number, string>[] }

属性值

{ receive: IncomingAudioMediaStats<number, string>[], send: OutgoingAudioMediaStats<number, string>[] }

screenShare

screenShare: { receive: IncomingScreenShareMediaStats<number, string>[], send: OutgoingScreenShareMediaStats<number, string>[] }

属性值

{ receive: IncomingScreenShareMediaStats<number, string>[], send: OutgoingScreenShareMediaStats<number, string>[] }

transports

transports: TransportMediaStats<number>[]

属性值

video

video: { receive: IncomingVideoMediaStats<number, string>[], send: OutgoingVideoMediaStats<number, string>[] }

属性值

{ receive: IncomingVideoMediaStats<number, string>[], send: OutgoingVideoMediaStats<number, string>[] }