

# 网络要求 \$1 低延迟直播
<a name="low-latency-network-requirements"></a>

IVS 低延迟直播功能依赖 RTMP(S)、SRT 和 WebTC 协议来传输媒体和数据。为确保无缝体验，必须可访问下列目标和端口以使用给定的协议进行广播。如果这些目标的入站或出站流量受到任何限制，都可能会妨碍 IVS 低延迟直播功能的正常运行。

注意：本文档中的信息不适用于通过 AWS PrivateLink 将内容流式传输到 IVS 的情形。有关更多信息，请参阅[私有摄取](private-ingest-ll.md)。

## 端口
<a name="low-latency-network-requirements-ports"></a>


| 协议 | 目标 | 端口： | 
| --- | --- | --- | 
|  RTMPS  |  \$1.live-video.net  |  TCP:443  | 
|  非安全 RTMP  |  \$1.live-video.net  |  TCP:1935  | 
|  SRT  |  \$1.srt.live-video.net  |  TCP:9000  | 
|  WebRTC  |  \$1.live-video.net  |  TCP:4443（SDP 交换） UDP:32768-61000（WebRTC 临时端口）  | 

## IP 范围
<a name="low-latency-network-requirements-ip-ranges"></a>

IVS 低延迟直播的数据面板是全局性的。要广播到 IVS，必须确保能够访问 [ip-ranges.json](https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html) 中 IVS\$1LOW\$1LATENCY 服务的所有子网，而无论位于哪个区域或您选择了哪个 AWS 区域。主播可能会被自动连接到任何子网。有关详细信息，请参阅[全球解决方案，区域控制](https://docs.aws.amazon.com//ivs/latest/LowLatencyUserGuide/what-is.html#what-is-aws)。

要查看所有 IVS\$1LOW\$1LATENCY 子网的列表，请运行以下 `jq` 命令：

**ipv4**

```
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.service=="IVS_LOW_LATENCY") | .ip_prefix'
```

**ipv6**

```
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.ipv6_prefixes[] | select(.service=="IVS_LOW_LATENCY") | .ipv6_prefix'
```