Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZegoNetworkSpeedTestConfig

Network speed test config

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

The unit is kbps. Recommended to use the bitrate in ZegoVideoConfig when call startPublishingStream to determine whether the network downlink environment is suitable.

expectedUplinkBitrate

expectedUplinkBitrate: number

The unit is kbps. Recommended to use the bitrate in ZegoVideoConfig when call startPublishingStream to determine whether the network uplink environment is suitable.

testDownlink

testDownlink: boolean

Test downlink or not

testUplink

testUplink: boolean

Test uplink or not

Generated using TypeDoc