流式处理终结点概述Streaming endpoints overview

Note

不会向媒体服务 v2 添加任何新特性或新功能。No new features or functionality are being added to Media Services v2.
查看最新版本:媒体服务 v3Check out the latest version, Media Services v3. 另请参阅从 v2 到 v3 的迁移指南Also, see migration guidance from v2 to v3

在 Azure 媒体服务 (AMS) 中,流式处理终结点代表一个流服务,它可以直接将内容分发给客户端播放器应用程序。In Azure Media Services (AMS), a Streaming Endpoint represents a streaming service that can deliver content directly to a client player application. StreamingEndpoint 服务的出站流可以是实时流、视频点播,也可以是媒体服务帐户中进行的渐进式资产下载。The outbound stream from a StreamingEndpoint service can be a live stream, a video on demand, or progressive download of your asset in your Media Services account. 每个 Azure 媒体服务帐户包括一个默认的 StreamingEndpoint。Each Azure Media Services account includes a default StreamingEndpoint. 可以在该帐户下创建其他 StreamingEndpoint。Additional StreamingEndpoints can be created under the account. StreamingEndpoint 有两个版本:1.0 和 2.0。There are two versions of StreamingEndpoints, 1.0 and 2.0. 从 2017 年 1 月 10 日开始,任何新创建的 AMS 帐户都会包括 2.0 版的 默认 StreamingEndpoint。Starting with January 10th 2017, any newly created AMS accounts will include version 2.0 default StreamingEndpoint. 添加到该帐户的其他流式处理终结点也会是 2.0 版。Additional streaming endpoints that you add to this account will also be version 2.0. 此更改不会影响现有帐户;现有的 StreamingEndpoint 会是 1.0 版,但可以升级到 2.0 版。This change will not impact the existing accounts; existing StreamingEndpoints will be version 1.0 and can be upgraded to version 2.0. 此更改将导致行为、计费和功能更改(有关详细信息,请参阅下面所述的流式处理类型和版本部分)。With this change there will be behavior, billing and feature changes (for more information, see the Streaming types and versions section documented below).

Azure 媒体服务将以下属性添加到流式处理终结点实体:StreamingEndpointVersionAzure Media Services added the following properties to the Streaming Endpoint entity: StreamingEndpointVersion. 有关这些属性的详细概述,请参阅 此文For detailed overview of these properties, see this.

用户创建 Azure 媒体服务帐户时,将为用户创建一个处于“已停止” 状态的默认标准流式处理终结点。When you create an Azure Media Services account a default standard streaming endpoint is created for you in the Stopped state. 无法删除默认流式处理终结点。You cannot delete the default streaming endpoint.

本主题概述流式处理终结点提供的主要功能。This topic gives an overview of the main functionalities that are provided by streaming endpoints.

命名约定Naming conventions

对于默认终结点:{AccountName}.streaming.mediaservices.chinacloudapi.cnFor the default endpoint: {AccountName}.streaming.mediaservices.chinacloudapi.cn

对于任何其他终结点:{EndpointName}-{AccountName}.streaming.mediaservices.chinacloudapi.cnFor any additional endpoints: {EndpointName}-{AccountName}.streaming.mediaservices.chinacloudapi.cn

流式处理类型和版本Streaming types and versions

标准/高级类型(版本 2.0)Standard/Premium types (version 2.0)

从 2017 年 1 月发布的媒体服务开始,可使用两种流式处理类型:标准(预览版)和高级Starting with the January 2017 release of Media Services, you have two streaming types: Standard (preview) and Premium. 这些类型属于流式处理终结点版本“2.0”。These types are part of the Streaming endpoint version "2.0".

类型Type 说明Description
标准Standard 默认的流式处理终结点是“标准” 类型,可以通过调整流单元更改为“高级”类型。The default Streaming Endpoint is a Standard type, can be changed to the Premium type by adjusting streaming units.
高级Premium 此选项适用于需要更高级缩放或控制的专业方案。This option is suitable for professional scenarios that require higher scale or control. 可以通过调整流单元转到“高级” 类型。You move to a Premium type by adjusting streaming units.
专用流式处理终结点存在于隔离环境中,不会争用资源。Dedicated Streaming Endpoints live in isolated environment and do not compete for resources.

有关更多详细信息,请参阅以下部分 比较流式处理类型For more detailed information, see the Compare Streaming types following section.

经典类型(版本 1.0)Classic type (version 1.0)

对于在 2017 年 1 月 10 日发行版之前创建 AMS 帐户的用户,可以使用 经典 类型的流式处理终结点。For users who created AMS accounts prior to the January 10 2017 release, you have a Classic type of a streaming endpoint. 此类型属于流式处理终结点版本“1.0”。This type is part of the streaming endpoint version "1.0".

如果 “1.0”版的流式处理终结点的高级流单元 (SU) 数 > = 1,则它将是高级流式处理终结点,并且无需任何其他配置步骤就会提供所有 AMS 功能(就像标准/高级类型一样)。If your version "1.0" streaming endpoint has >=1 premium streaming units (SU), it will be premium streaming endpoint and will provide all AMS features (just like the Standard/Premium type) without any additional configuration steps.

Note

经典流式处理终结点(版本“1.0”且 0 个 SU)提供有限的功能,并且不包括 SLA。Classic streaming endpoints (version "1.0" and 0 SU), provides limited features and doesn't include a SLA. 建议迁移到“标准” 类型,以便改进体验,并使用动态打包或加密等功能,以及“标准” 类型附带的其他功能。It is recommended to migrate to Standard type to get a better experience and to use features like dynamic packaging or encryption and other features that come with the Standard type. 若要迁移到标准类型,请转到 Azure 门户,选择“选择加入标准类型” 。To migrate to the Standard type, go to the Azure portal and select Opt-in to Standard. 有关迁移的详细信息,请参阅迁移部分。For more information about migration, see the migration section.

请注意,此操作无法回退,并且会对定价造成影响。Beware that this operation cannot be rolled back and has a pricing impact.

比较流式处理类型Comparing streaming types

版本Versions

类型Type StreamingEndpointVersionStreamingEndpointVersion ScaleUnitsScaleUnits 计费Billing
经典Classic 1.01.0 00 免费Free
标准流式处理终结点(预览版)Standard Streaming Endpoint (preview) 2.02.0 00 付费Paid
高级流式处理单元Premium Streaming Units 1.01.0 >0>0 付费Paid
高级流式处理单元Premium Streaming Units 2.02.0 >0>0 付费Paid

功能Features

功能Feature 标准Standard 高级Premium
按比例计费Billing is prorated 每日Daily 每日Daily
动态加密Dynamic encryption Yes Yes
动态打包Dynamic packaging Yes Yes
缩放Scale 自动扩展到目标吞吐量。Auto scales up to the targeted throughput. 额外流单元。Additional streaming units.
IP 筛选/G20/自定义主机IP filtering/G20/Custom host Yes Yes
渐进式下载Progressive download Yes Yes
建议用途Recommended usage 建议用于绝大多数流式处理方案。Recommended for the vast majority of streaming scenarios. 专业用途。Professional usage.

有关 SLA 的信息,请参阅定价和 SLAFor SLA information, see Pricing and SLA.

类型之间的迁移Migration between types

From 如果To 操作Action
经典Classic 标准Standard 需要选择加入Need to opt-in
经典Classic 高级Premium 规模(额外流单元)Scale(additional streaming units)
标准/高级Standard/Premium 经典Classic 不可用(如果流式处理终结点版本为 1.0,Not available(If streaming endpoint version is 1.0. 允许通过将 scaleunits 设置为“0”更改为经典)It is allowed to change to classic with setting scaleunits to "0")
标准Standard 使用相同配置的高级类型Premium with the same configurations 已启动 状态下允许。Allowed in the started state. (通过 Azure 门户)(via Azure portal)
高级Premium 使用相同配置的标准类型Standard with the same configurations 已启动状态下允许(通过 Azure 门户)Allowed in the started state (via Azure portal)
标准Standard 使用不同配置的高级类型Premium with different config 已停止状态下允许(通过 Azure 门户)。Allowed in the stopped state (via Azure portal). 在“正在运行”状态下不允许。Not allowed in the running state.
高级Premium 使用不同配置的标准类型Standard with different config 已停止状态下允许(通过 Azure 门户)。Allowed in the stopped state (via Azure portal). 在“正在运行”状态下不允许。Not allowed in the running state.

后续步骤Next steps

查看媒体服务学习路径。Review Media Services learning paths.

媒体服务 v3(最新版本)Media Services v3 (latest)

查看最新版本的 Azure 媒体服务!Check out the latest version of Azure Media Services!

媒体服务 v2(旧版)Media Services v2 (legacy)