webContents - contents.setWebRTCUDPPortRange(udpPortRange)

概述

设置 WebRTC 使用的 UDP 端口范围,默认不限制端口范围。

基本信息

属性
模块 webContents
类型 Method
鸿蒙支持 支持