Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZegoNetworkSpeedTestConfig

网络测速配置

Hierarchy

  • ZegoNetworkSpeedTestConfig

Index

Constructors

constructor

  • new ZegoNetworkSpeedTestConfig(testUplink: boolean, expectedUplinkBitrate: number, testDownlink: boolean, expectedDownlinkBitrate: number): ZegoNetworkSpeedTestConfig
  • Parameters

    • testUplink: boolean
    • expectedUplinkBitrate: number
    • testDownlink: boolean
    • expectedDownlinkBitrate: number

    Returns ZegoNetworkSpeedTestConfig

Properties

expectedDownlinkBitrate

expectedDownlinkBitrate: number

单位 kbps。用于确定网络下行环境是否适合拉取指定码率的数据,建议用推流的码率来测试。

expectedUplinkBitrate

expectedUplinkBitrate: number

单位 kbps。用于确定网络上行环境是否适合推送指定码率的数据,建议用推流的码率来测试。

testDownlink

testDownlink: boolean

是否进行下行测速

testUplink

testUplink: boolean

是否进行上行测速

Generated using TypeDoc