Microsoft Stream 视频传递和网络概述Microsoft Stream video delivery and network overview

自适应比特率流Adaptive bitrate streaming

有许多可上载到 Microsoft Stream 的 受支持的视频格式There are many supported video formats that can be uploaded to Microsoft Stream. 然后,将每个视频文件编码为具有几种不同视频质量和大小的标准格式,以供播放。Each video file is then encoded to a standard format with several different video qualities and sizes for playback. Stream 使用 HTTPS 单播 自适应比特率流 (ABR) 根据视频播放器的可用网络带宽和大小动态选择最佳视频播放质量。Stream uses HTTPS unicast adaptive bitrate streaming (ABR) to dynamically select the best video playback quality based on the available network bandwidth and size of the video player.

在播放期间,播放机将适应网络状况和播放机大小的波动。During playback, the player adapts to fluctuations in network conditions and size of the player. 当可用带宽较高时,播放机将流式传输视频的高质量版本。When the available bandwidth is high, the player streams a high-quality version of the video. 当带宽下降时,播放机会将视频流传输到低质量版本。When the bandwidth drops, the player streams a low-quality version of the video. 视频的质量和分辨率也会与播放机的大小成比例。The quality and resolution of the video will also be proportional to the size of the player. 如果查看器在较小的屏幕上观看,则始终会获取较小版本的视频。If a viewer is watching on a smaller screen, they'll always get a smaller version of the video.

自适应比特率流式处理会在后台运行所有这些操作,同时视频会以最少的中断或缓冲量播放。The adaptive bitrate streaming does all this work in the background while the video plays with the least amount of disruption or buffering. 在视频播放过程中,视频播放器允许查看器手动覆盖自动播放质量,以选择特定的视频播放质量。During video playback, the video player lets the viewer to manually override the automatic playback quality, to select a specific video playback quality.

自适应比特率流的已上载视频的智能编码Smart encoding of uploaded videos for adaptive bitrate streaming

Stream 使用一些 smarts 来确定它如何从原始上载的视频中创建不同的视频质量和大小,以用于自适应比特率流式处理。Stream uses some smarts to determine how it creates the different video qualities and sizes from the original uploaded video to be used for adaptive bitrate streaming.

首先,Stream 确定应为上载的视频创建多少种不同的视频质量或格式副本。First, Stream determines how many different video qualities or renditions should be created for the uploaded video. 流会考虑视频的原始分辨率。Stream takes into consideration the original resolution of the video. 例如,如果是1080p 或更高的视频,它将创建更高质量的级别 (大约 6) ,直至降低到最低质量的版本。For example, if it's a 1080p or higher video it will create more quality levels (about 6) to step down to the lowest quality version. 如果上载的视频是480p,则会创建更少的质量级别 (大约 3) ,直至降低到最低质量的版本。If instead the uploaded video is 480p, it will create fewer quality levels (about 3) to step down to the lowest quality version. Stream 不会生成超出最初上传视频分辨率的视频的分辨率。Stream won't generate a resolution of the video that exceeds the resolution of the originally uploaded video.

在确定了视频质量或格式副本数量后,下一阶段是确定每个节目的比特率。After the number of video qualities or renditions is decided, the next stage is to determine the bitrate for each rendition. 呈现形式的质量越高,所需的位数越多。The higher the quality of the rendition the more bits it requires. 但并非所有视频的创建都是相同的,不同类型的视频需要不同的 bitrates 以实现高质量的观看体验。However not all videos are created equal, different types of videos require different bitrates to achieve a high quality viewing experience. 如果视频有大量动作,则需要以更高的比特率传递,以获得良好的观赏体验。If a video has lots of motion, it will need to be delivered with a higher bitrate to achieve a great viewing experience. 但是,通常为静态文本的视频中的 PowerPoint 演示文稿仍可获得较低比特率的良好观看体验。However, a PowerPoint presentation in a video with mostly static text can still get a great viewing experience at a lower bitrate.

为了解决视频内容中的这种可变性,Stream 测量上载的视频的特征,然后为每个节目推荐比特率。To address this variability in video content, Stream measures the characteristics of the uploaded video then recommends bitrate for each rendition. 上传到流的每个视频最终都将有一组略有不同的分辨率和 bitrates 用于流式处理,以确保我们在需要时能够明智地使用带宽并在需要时使用更多的位。Each video uploaded to Stream will end up with a slightly different set of resolutions and bitrates used for streaming, to ensure that we're using bandwidth wisely and only using more bits when it's needed.

在流中查看视频时,可以在播放机中看到为自适应比特率流式创建的不同呈现形式:When viewing a video on Stream, the different renditions that were created for adaptive bitrate streaming can be seen in the player:

  • 在流播放器中,单击齿轮图标,然后选择 " 质量"。In the Stream player, click the Gear icon and then select Quality.
示例     Example      说明Description 媒体                    Player                    
团队会议录制Teams meeting recordings 团队会议录制使用单个1080p 分辨率视频呈现形式进行编码。Teams meeting recordings are encoded with a single 1080p resolution video rendition. 1080p – 574 Kbps1080p – 574 Kbps
视频点播 (不包括会议录制) Video-on-demand (excluding meeting recordings) 非工作组视频点播使用内容感知预设进行编码,该预设可智能选择最长6个视频呈现形式,如以下示例所示。Non-Teams video-on-demand is encoded with a content-aware preset that intelligently selects up to 6 video renditions, as shown in this example. 较高的颜色级别和动作差异将使用更多的视频呈现形式编码,并且较低的复杂性内容将使用较少的编码进行编码。Higher complexity content with a high degree of color and motion variance will be encoded with more video renditions and lower complexity content will be encoded with fewer. 1080p – 3 Mbps1080p – 3 Mbps
720p – 1.6 Mbps720p – 1.6 Mbps
540p – 989 Kbps540p – 989 Kbps
360p – 460 Kbps360p – 460 Kbps
270p – 327 Kbps270p – 327 Kbps
180p – 193 Kbps180p – 193 Kbps

实时事件的编码配置文件Encoding profile for live events

上面列出的智能编码仅适用于上传到流的视频。The smart encoding listed above only applies to videos uploaded to Stream.

在 Stream 或 "外部应用或设备" 中创建的实时事件从 Yammer 或 Microsoft 团队产生的实时事件将获取固定的编码配置文件:Live events created in Stream or "External app or device" produced live events from Yammer or Microsoft Teams will get a fixed encoding profile:

  • 720p-1.7 Mbps720p - 1.7 Mbps
  • 540p-850 Kbps540p - 850 Kbps
  • 360p-350 Kbps360p - 350 Kbps
  • 240p-140 Kbps240p - 140 Kbps

备注

如果编码器中的输入视频分辨率是720p 或更高版本,你将获得上述配置文件。If your input video resolution from the encoder is 720p or higher you'll get the above profile. 如果将编码器中的输入视频分辨率放到低于720p 的位置,则只会从输入解析和向下获取输出 bitrates。If you drop your input video resolution from the encoder to lower than 720p, then you'll only get output bitrates from your input resolution and down. 例如,如果您从编码器发送了540p 分辨率,则最高比特率查看器将能够获取540p 的850kbps 版本。For example, if you sent 540p resolution from your encoder then the highest bitrate viewers would be able to get is the 540p - 850kbps version. Stream 不会根据编码器的输入比特率更改上述实时编码配置文件,它仅根据输入分辨率降低质量级别。Stream does not change the above live encoding profile based on input bitrate from the encoder, it only cuts off quality levels based on input resolution.

视频播放的带宽要求Bandwidth requirements for video playback

Stream 中的视频播放是单路广播,这意味着每个查看器都从 internet 获取自己的视频流。Video playback in Stream is unicast, meaning every viewer is getting their own video stream from the internet. 根据流使用的智能编码和自适应比特率流,视频播放的带宽要求不是静态号码。Based on the smart encoding and adaptive bitrate streaming used by Stream, the bandwidth requirement for video playback isn't a static number. 播放视频可能会占用不同数量的 internet 带宽,具体取决于上传的视频:Playing a video can consume different amounts of internet bandwidth, depending on an uploaded video's:

  • 原始分辨率、比特率和内容original resolution, bitrate, and content
  • 用户的可用带宽user's available bandwidth
  • 播放机的大小size of the player

如果要开发一些带宽估计,则需要上载一些表示组织将用于流的典型内容的视频,并观看您认为将由用户使用的屏幕大小的视频。If you want to develop some bandwidth estimations, you need to upload some videos that represent the typical content your organization will use with Stream and watch the videos on screen sizes you think will be used by your users. 然后,您可以执行一些带宽测量和取样。You can then do some bandwidth measurements and sampling. 然后,您可以使用这些近似进行一些高级计算,并根据您认为将同时观看视频的数量估计您的用户将消耗的带宽量。You could then use these approximations to make some high-level calculations and estimates of how much bandwidth your users will consume based on how many you think will watch videos at the same time.

在本地网络内优化视频传递Optimizing video delivery within my local network

Stream 利用智能编码和自适应比特率流式播放,减少视频播放的网络和 Internet 流量。Stream leverages the smart encoding and adaptive bitrate streaming to reduce network and internet traffic of video playback. 但播放是单播流。However playback is a unicast stream. 对于发送到组织内的大部分用户的实时事件或视频,观看者可能会消耗大量 Internet 带宽。For live events or videos sent out to large portions of your organization, there could be a significant amount of internet bandwidth consumed by viewers.

对于要减少实时事件和热门视频的 internet 流量的组织,有两种方法可供选择:For organizations that want to reduce this internet traffic for live events and popular videos, there are two options:

  1. 利用网络中现有的缓存代理Leverage existing cache proxies in your network

    从流中观看视频通过 HTTPS 发生,因此可以将正常的 web 缓存代理配置为缓存视频播放流量。Watching videos from Stream happens over HTTPS therefore, normal web cache proxies can be configured to cache the video playback traffic. 您可能需要配置自定义 SSL 证书,以使 HTTPS 发生这种情况。You may need to configure custom SSL certification to make this happen with HTTPS. 但是,如果在播放视频时查看网络跟踪,您可以看到 Stream 用来流式处理组织视频的 Url (Url 可能因 Stream 租户) 而异。However, if you look at a network trace while playing a video, you can see the URLs that Stream uses to stream the video for your organization (URLs can vary by Stream tenant). 如果通过缓存代理路由这些 Url,则它可以缓存视频流量并减少 internet 流量,以便经常播放的视频。If you route those URLs through your cache proxy, it can cache the video traffic and reduce your internet traffic for often played videos.

  2. 使用针对流优化的第三方 eCDN 视频传递解决方案Use a third-party eCDN video delivery solution optimized for Stream

    几个视频传递 eCDN 解决方案都是预集成的,可设置为与 Stream 配合使用。Several video delivery eCDN solutions are pre-integrated and can be set up to be used with Stream. 这些 eCDN 平台使组织能够优化网络带宽,而不会影响最终用户的查看体验。These eCDN platforms enable organizations to optimize network bandwidth without sacrificing end user viewing experiences. 我们的合作伙伴可帮助您在整个企业网络中实现更具伸缩性且更高效的视频分发。Our partners can help enable a more scalable and efficient video distribution across your enterprise network. 有关详细信息,请参阅将 视频传递与第三方 eCDN 提供商进行缩放See Scaling video delivery with 3rd party eCDN providers for more information.

网络中的用户需要访问的终结点Endpoints that need to be reachable by users inside your network

常规 Microsoft Stream 终结点General Microsoft Stream endpoints

Microsoft Stream 要求连接到 internet。Microsoft Stream requires connectivity to the internet. 在您的组织的网络中,Microsoft stream 的Office 365 终结点上列出的所有终结点都需要能够通过 microsoft stream 的用户访问。All endpoints listed on Office 365 endpoints for Microsoft Stream need to be reachable by users of Microsoft Stream within your organization's network.

外部应用或设备产生的实时事件(以前称为外部编码器)-RMTP 的摄取终结点External app or device produced live events (formerly external encoder) - RMTP ingest endpoints

若要获取从编码器中发送到 Microsoft Stream 的外部应用或设备的视频源,您需要在网络的防火墙或代理中打开以下 IP 范围和端口:To get a video feed for an External app or device produced live event sent to Microsoft Stream from your encoder you'll need the following IP ranges and ports open in your network's firewall or proxy:

  • 域: * channel.media.azure.netDomains: *.channel.media.azure.net
  • 端口:1935/2935/1936/2936 (针对 RTMP 和 RTMPS)Ports: 1935/2935/1936/2936 (for RTMP and RTMPS)

如果您的特定网络安装程序不允许您(或不希望)打开上面的域范围,则当前唯一用于获取 RTMP/RTMPS 的特定 IP 地址的选项是获取 Microsoft Stream 租户连接到的 Azure 数据中心的轮换 IP 范围。If your specific network setup doesn't allow you to (or you don't want to) open up the domain range above, currently the only option to get specific IP addresses for the RTMP/RTMPS ingest, is to get the rotating IP ranges for the Azure data center that your Microsoft Stream tenant is connected to.

以下 JSON 文件将作为 Azure 数据中心更改的 IP 地址进行更新,并由地区和标记的服务自行中断。The following JSON files are updated as the IP addresses for Azure data centers change, broken own by region and by the tagged services.

这些文件每周进行更新,并包括该文件中的完整文件和各个服务标记的版本控制。These files are updated weekly and include versioning both for the full file and each individual service tag in that file.

若要查找 Stream 租户的 Azure 数据中心,请执行以下操作:To find the Azure data center for your Stream tenant:

  1. 在 "" 中,单击 In Stream, click ? 右上角。in the upper right corner.

  2. 选择 "关于 Microsoft Stream"。Select About Microsoft Stream.

  3. 查看数据中存储的信息。View the information in Your data is stored in.

找到 Stream 租户的 Azure 数据中心后,请在上面的 XML 文件中找到相应的 IP 范围,然后使用您的数据中心的特定 IP 范围更新您的防火墙/代理。After you find out the Azure data center for your Stream tenant, find the corresponding IP ranges in the XML file above, and then update your firewall/proxy with the specific IP ranges for your data center. 当 XML 文件发生更改时,您还需要更新防火墙/代理设置。As the XML file changes you'll need to update your firewall/proxy settings as well.

示例:Example:

  • 如果Microsoft Stream表明你的数据存储在 "东 US 2" 中If About Microsoft Stream says that your data is stored in "East US 2"

  • 在 XML 文件中,您将查找标有 < "Region Name =" useast2 "的节点。>In the XML file, you would look for a node labeled <Region Name="useast2">

  • 在该区域节点下,将为所有 IP 范围( < IpRange 子网 = "13.68.0.0/17")提供多个条目。 >Under that Region node, there would be several entries for all the IP ranges (<IpRange Subnet="13.68.0.0/17">)

  • 您需要将您的 firewall\proxy 配置为允许所有这些 IP 范围,并在 XML 文件发生更改时定期对其进行更改。You would need to configure your firewall\proxy to allow all of these IP ranges and change them on a regular basis when the XML file changes.

社区中的用户已编写了可在计划中使用 XML 文件的代码,并将数据转换为可查询的 API。Users in the community have written code that on a schedule it takes the XML file above and converts the data into an API that can be queried. 您的组织能够了解如何使用此开放源代码项目进行操作,并构建您自己的类似解决方案,以便定期更新您的防火墙/代理设置。Your organization my be able to learn from what was done with this open source project and build your own similiar solution to regularly update your firewall/proxy settings.

常规 Microsoft Stream 终结点General Microsoft Stream endpoints

Microsoft Stream 要求连接到 internet。Microsoft Stream requires connectivity to the internet. 您的组织的网络中的 Microsoft Stream 用户需要达到 Microsoft stream 的 Office 365 终结点 上列出的所有终结点。All endpoints listed on Office 365 endpoints for Microsoft Stream need to be reached by Microsoft Stream users within your organization's network.

拥有 VPN 拆分隧道配置时到达查看者Reaching viewers when you have a VPN split-tunneling configuration

备注

有关特定于流和实时事件 VPN 配置的详细信息,请参阅 如何在 VPN 方案中优化流 & 实时事件流量For more information specific to Stream and Live Event VPN configuration, see How to Optimize Stream & Live Events traffic in a VPN scenario.

对于通过 VPN 将其远程工作设备连接到企业网络或云基础结构的客户,Microsoft 建议通过 VPN 拆分隧道配置路由 Microsoft 365 live 事件的流视频。For customers who connect their remote worker devices to the corporate network or cloud infrastructure over VPN, Microsoft recommends that streaming video for Microsoft 365 live events is routed over a VPN split tunnel configuration. 此方法在第一线战略中变得尤为重要,以确保在大规模工作的持续时间内(如 COVID 危机)进行持续的员工工作效率。This method becomes especially important as a first-line strategy to ensure continued employee productivity during large-scale work-from-home events such as the COVID-19 crisis.

提示

Microsoft 建议在针对 Office 365 服务的已记录专用 IP 范围上重点拆分隧道 VPN 配置。Microsoft recommends focusing split-tunnel VPN configuration on documented dedicated IP ranges for Office 365 services. FQDN 或基于 AppID 的拆分隧道配置在某些 VPN 客户端平台上可能不会完全覆盖关键的 Office 365 方案,并且可能会与基于 IP 的 VPN 路由规则发生冲突。FQDN or AppID-based split tunnel configurations, while possible on certain VPN client platforms, may not fully cover key Office 365 scenarios and may conflict with IP-based VPN routing rules. 出于此原因,Microsoft 不建议使用 Fqdn 配置拆分隧道 VPN。For this reason, Microsoft does not recommend using FQDNs to configure split-tunnel VPN. 使用 FQDN 配置在其他相关方案中可能非常有用,例如 .pac 文件自定义或实现代理绕过。The use of FQDN configuration may be useful in other related scenarios, such as .pac file customizations or to implement proxy bypass.
Office 365 企业借用的提示Tip borrowed from Office 365 Enterprise

若要允许来自 Microsoft 365 live 事件的视频流在不 congesting VPN 的情况下到达播放端点,则没有显式代理的客户可以使用一组静态 IP 地址来拆分隧道实时事件流量。To allow video streams from Microsoft 365 live events to reach playback endpoints without congesting your VPN, customers without explicit proxies can use a set of static IP addresses to split-tunnel live event traffic. 您需要为网络的 VPN 拆分隧道配置中的以下 Azure CDN IP 地址打开端口443。You'll need port 443 open for the following Azure CDN IP addresses in your network's VPN split-tunneling configuration.

IPv4IPv4 IPv6IPv6
72.21.81.20072.21.81.200 2606:2800:011F:17A5:191A:18D5:0537:22F92606:2800:011F:17A5:191A:18D5:0537:22F9
152.199.19.161152.199.19.161 2606:2800:133:206E:1315:22A5:2006:24FD2606:2800:133:206E:1315:22A5:2006:24FD
117.18.232.200117.18.232.200 2606:2800:0147:120F:030C:1BA0:0FC6:265A2606:2800:0147:120F:030C:1BA0:0FC6:265A
192.16.48.200192.16.48.200 2606:2800:0157:1508:1539:0174:1A75:11912606:2800:0157:1508:1539:0174:1A75:1191
93.184.215.20193.184.215.201 2606:2800:11F:7DE:D31:7DB:168F:12252606:2800:11F:7DE:D31:7DB:168F:1225
68.232.34.20068.232.34.200 2606:2800:133: F17:19E8:2356:251B:02A92606:2800:133:F17:19E8:2356:251B:02A9
192.229.232.200192.229.232.200 2606:2800:0147:0FF8:129B:22EB:020B:13472606:2800:0147:0FF8:129B:22EB:020B:1347
152.195.19.97152.195.19.97 2606:2800:11f:1cb7:261b:1f9c:2074:3c2606:2800:11f:1cb7:261b:1f9c:2074:3c
152.199.52.147152.199.52.147 2606:2800:157:3ac:1a2e:26c9:99c:8f92606:2800:157:3ac:1a2e:26c9:99c:8f9
152.199.21.175152.199.21.175 2606:2800:233:1cb7:261b:1f9c:2074:3c2606:2800:233:1cb7:261b:1f9c:2074:3c
152.199.39.108152.199.39.108 2606:2800:247:1cb7:261b:1f9c:2074:3c2606:2800:247:1cb7:261b:1f9c:2074:3c
13.107.208.0/2413.107.208.0/24 2620:1ec:29:/482620:1ec:29::/48
13.107.219.0/2413.107.219.0/24 2620:1ec:40:/472620:1ec:40::/47
13.107.246.0/2413.107.246.0/24 2620:1ec: bdf::/482620:1ec:bdf::/48
13.107.253.0/2413.107.253.0/24

备注

以上指南对具有 VPN + 代理配置的客户不起作用。The above guidance will not be helpful for customers with a VPN+proxy configuration. Microsoft 致力于解决此类情况的解决方案。Microsoft is working on a solution for such scenarios.

外部应用或设备生成的实时事件 (以前的外部编码器) -RMTP 的摄取终结点External app or device produced live events (formerly external encoder) - RMTP ingest endpoints

若要获取从编码器中发送到 Microsoft Stream 的 外部应用或设备 的视频源,需要在您的网络防火墙或代理中打开以下 IP 范围和端口:To get a video feed for an External app or device produced live event sent to Microsoft Stream from your encoder, you'll need the following IP ranges and ports open in your network's firewall or proxy:

  • 域: * channel.media.azure.netDomains: *.channel.media.azure.net

  • 端口: RTMP 和 RTMPS 的 1935/2935/1936/2936 () Ports: 1935/2935/1936/2936 (for RTMP and RTMPS)

如果您的特定网络安装程序不允许您 (或者不希望) 打开上面的域范围,则当前用于获取 RTMP/RTMPS 的特定 IP 地址的唯一选项是获取 Microsoft Stream 租户连接到的 Azure 数据中心的轮换 IP 范围。If your specific network setup doesn't allow you to (or you don't want to) open up the domain range above, currently the only option to get specific IP addresses for the RTMP/RTMPS ingest, is to get the rotating IP ranges for the Azure data center that your Microsoft Stream tenant is connected to.

以下 JSON 文件将作为 Azure 数据中心更改的 IP 地址进行更新,并由地区和标记的服务自行中断。The following JSON files are updated as the IP addresses for Azure data centers change, broken own by region and by the tagged services.

公共: https://www.microsoft.com/en-us/download/details.aspx?id=56519 美国 .gov: https://www.microsoft.com/en-us/download/details.aspx?id=57063 https://www.microsoft.com/en-us/download/details.aspx?id=57064 中国: <德国: https://www.microsoft.com/en-us/download/details.aspx?id=57062Public: https://www.microsoft.com/en-us/download/details.aspx?id=56519 US Gov: <https://www.microsoft.com/en-us/download/details.aspx?id=57063 Germany: https://www.microsoft.com/en-us/download/details.aspx?id=57064 China: https://www.microsoft.com/en-us/download/details.aspx?id=57062

这些文件每周进行更新,并包括该文件中的完整文件和各个服务标记的版本控制。These files are updated weekly and include versioning both for the full file and each individual service tag in that file.

若要查找 Stream 租户的 Azure 数据中心,请执行以下操作:To find the Azure data center for your Stream tenant:

  1. 在 " " 中,单击 In Stream, click ? 右上角in the upper right corner

  2. 选择 "关于 Microsoft Stream "Select About Microsoft Stream

  3. 查看 " 数据存储在 " 部分中的信息View the information in the Your data is stored in section

找到 Stream 租户的 Azure 数据中心后,请在上面的 XML 文件中找到相应的 IP 范围,然后使用您的数据中心的特定 IP 范围更新您的防火墙/代理。After you find out the Azure data center for your Stream tenant, find the corresponding IP ranges in the XML file above, and then update your firewall/proxy with the specific IP ranges for your data center. 当 XML 文件发生更改时,您还需要更新防火墙/代理设置。As the XML file changes you'll need to update your firewall/proxy settings as well.

示例:Example:

  • 如果 Microsoft Stream 表明你的数据存储在 "东 US 2" 中If About Microsoft Stream says that your data is stored in "East US 2"

  • 在 XML 文件中,将查找标记为 " (" 的节点 ) In the XML file, you would look for a node labeled ()

  • 在该区域节点下,会为所有 IP 区域 () 多个条目。 Under that Region node, there would be several entries for all the IP ranges ()

  • 您需要将您的 firewall\proxy 配置为允许所有这些 IP 范围,并在 XML 文件发生更改时定期对其进行更改。You would need to configure your firewall\proxy to allow all of these IP ranges and change them on a regular basis when the XML file changes.

社区中的用户已编写的代码按照日程安排,它将获取上面的 XML 文件,并将数据转换为可查询的 API。Users in the community have written code that, on a schedule, it takes the XML file above and converts the data into an API that can be queried. 您的组织可以了解如何使用此开放源代码项目,并构建您自己的类似解决方案,以便定期更新您的防火墙/代理设置。Your organization may be able to learn from what was done with this open-source project and build your own similar solution to regularly update your firewall/proxy settings.

用于视频播放的 CDNCDN used for video playback

来自 Yammer/团队的 Stream 和 外部应用程序或设备 live 事件中的实时事件以及按需视频将自动使用 Azure CDN。Live events from Stream and External app or device live events from Yammer/Teams as well as on-demand videos will automatically use Azure CDN.

上传到流的按需视频以及实时事件记录,还将使用 Azure CDN 进行播放(如果需要)。On-demand videos uploaded to Stream—as well as Live event recordings—will also use Azure CDN for playback, if required. 当这些视频不需要 Azure CDN 时,将从与租户所在地理区域关联的 Azure 媒体服务源服务器播放这些视频。When Azure CDN is not required for these videos, they would be played back from the Azure Media Services origin servers associated with the tenant's geographic region.

如果同一地理位置中同一组织中的多个人员流 (s) 的同一视频,则 Cdn 将把这些视频的副本存储在距离该地理区域更近的位置。If several people from the same organization within the same geographic location are streaming the same video(s), CDNs will store a copy of these videos in a location closer to that geographic region. 将视频存储在最近的位置,或将其缓存在最近的位置,而不是将视频从距离最远的位置流式传输到其他位置。With the video stored, or cached at the closest location, each person streams the video from the location closest to them instead of a location further away. Stream 使用 Azure 媒体服务管理在 Azure Cdn 中缓存的内容,以及使用多长时间。Stream uses Azure Media Services to manage what is cached in the Azure CDNs, and for how long. Azure 媒体服务可以使用任何 AZURE CDN 位置 将视频片段和清单缓存几天。Azure Media Services can use any of the Azure CDN locations to cache video fragments and manifests for a few days. 如果你的组织中的人员继续观看缓存的视频,它们将保留在缓存中。If people in your organization continue to watch the cached videos, they'll stay in the cache. 如果没有人在几天内访问视频,则视频最终将从缓存中删除。If no one accesses the video for several days, the video will eventually be dropped from the cache. 下次有人尝试观看视频时,它会再次缓存在最近的 CDN 位置。The next time someone attempts to watch the video it’s once again cached at the nearest CDN location.

在内容被缓存在附近的 CDN 中时,尝试观看视频的每个人都可以从较近的视频中获益,在大多数情况下,远离跃点。Everyone who attempts to watch the video while the content is cached at a nearby CDN, benefits from the video being closer, and in most cases, less hops, away. 这将提高视频播放速度;但是,不会更改网络要求以播放视频。This improves video playback speed; however, it doesn’t change the network requirement to play the video.

视频级别加密和播放流Video level encryption and playback flow

Stream 知道保护数据安全和保密的重要程度。Stream knows how important it is to keep your data secure and private. Microsoft 信任中心介绍了我们对你的内容的隐私和安全承诺。The Microsoft Trust Center describes our commitment to the privacy and security of your content. 通过视频播放,速度对你的体验非常重要;但是,我们不会在 exchange 中降低您的安全或隐私速度。With video playback, speed is important for a good experience; however, we don’t compromise your security or privacy in exchange for speed. 下面介绍了我们如何实现速度、安全性和隐私。Here’s how we accommodate speed, security and privacy.

当您或组织中的某个人上载新视频或创建实时事件时,该视频将 transcoded,使用 AES-128 加密进行加密,并将其存储在 Azure 媒体服务中。When you or someone in your organization uploads a new video or creates a live event, that video is transcoded, encrypted with AES-128 encryption, and stored in Azure Media Services. 这意味着视频在传输和静止时都要加密。This means the videos are encrypted both in transit and at rest.

当组织中的某个人尝试观看视频时,他们可以按照以下步骤操作:When someone in your organization attempts to watch a video, they follow these steps:

  1. Stream 通过检查 Azure SQL database for Stream 中的视频上的权限和 Azure Active Directory 中有关用户的信息来确定查看器是否可以访问视频Stream determines if the viewer has access to the video by checking the permissions set on the video in Azure SQL database for Stream and information in Azure Active Directory about the user

  2. 如果允许用户查看视频,则从 Azure 媒体服务获取解密密钥,并将其提供给 Stream 视频播放器If the user is allowed to view the video the decryption key is fetched from Azure Media Services and given to the Stream video player

  3. 在播放视频时,Stream 视频播放器将使用解密密钥即时解密视频The Stream video player then uses the decryption key to decrypt the video on the fly as the video is being played

另请参阅See also

使用第三方 eCDN 提供程序缩放视频传递Scaling video delivery with 3rd party eCDN providers