Skip to content

Commit 9bc5d27

Browse files
Merge pull request #78833 from Juliako/patch-80
Update live-events-outputs-concept.md
2 parents 7b4df6f + a2e5dfe commit 9bc5d27

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

articles/media-services/latest/live-events-outputs-concept.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.workload: media
1212
ms.tgt_pltfrm: na
1313
ms.devlang: ne
1414
ms.topic: article
15-
ms.date: 06/04/2019
15+
ms.date: 06/06/2019
1616
ms.author: juliako
1717

1818
---
@@ -85,40 +85,43 @@ You can either use non-vanity URLs or vanity URLs.
8585

8686
Vanity mode is preferred by large media broadcasters who use hardware broadcast encoders and don't want to re-configure their encoders when they start the Live Event. They want a predictive ingest URL, which does not change over time.
8787

88-
To specify this mode, you set `vanityUrl` to `true` at creation time (default is `false`). You also need to pass your own access token (to avoid a random token in the URL). Set `LiveEventInput.accessToken` to a a unique identifier at creation time. Once the mode is set it cannot be updated.
88+
To specify this mode, you set `vanityUrl` to `true` at creation time (default is `false`). You also need to pass your own access token (`LiveEventInput.accessToken`) at creation time. You specify the token value to avoid a random token in the URL. The access token has to be a valid GUID string (with or without the dashes). Once the mode is set it cannot be updated.
89+
90+
The access token needs to be unique in your data center. If your application needs to use a vanity URL, it is recommended to always create a new GUID instance for your access token (instead of reusing any existing GUID).
8991

9092
### Live ingest URL naming rules
9193

9294
The *random* string below is a 128-bit hex number (which is composed of 32 characters of 0-9 a-f).<br/>
93-
The *access token* below is what you need to specify for fixed URL. It is also 128 bit hex number.
95+
The *access token* is what you need to specify for fixed URL. You must set an access token string that is a valid length GUID string. <br/>
96+
The *stream name* indicates the stream name for a specific connection. The stream name value is usually added by the live encoder that you use.
9497

9598
#### Non-vanity URL
9699

97100
##### RTMP
98101

99-
`rtmp://<random 128bit hex string>.channel.media.azure.net:1935/<access token>`
100-
`rtmp://<random 128bit hex string>.channel.media.azure.net:1936/<access token>`
101-
`rtmps://<random 128bit hex string>.channel.media.azure.net:2935/<access token>`
102-
`rtmps://<random 128bit hex string>.channel.media.azure.net:2936/<access token>`
102+
`rtmp://<random 128bit hex string>.channel.media.azure.net:1935/live/<access token>/<stream name>`<br/>
103+
`rtmp://<random 128bit hex string>.channel.media.azure.net:1936/live/<access token>/<stream name>`<br/>
104+
`rtmps://<random 128bit hex string>.channel.media.azure.net:2935/live/<access token>/<stream name>`<br/>
105+
`rtmps://<random 128bit hex string>.channel.media.azure.net:2936/live/<access token>/<stream name>`<br/>
103106

104107
##### Smooth Streaming
105108

106-
`http://<random 128bit hex string>.channel.media.azure.net/<access token>/ingest.isml`
107-
`https://<random 128bit hex string>.channel.media.azure.net/<access token>/ingest.isml`
109+
`http://<random 128bit hex string>.channel.media.azure.net/<access token>/ingest.isml/streams(<stream name>)`<br/>
110+
`https://<random 128bit hex string>.channel.media.azure.net/<access token>/ingest.isml/streams(<stream name>)`<br/>
108111

109112
#### Vanity URL
110113

111114
##### RTMP
112115

113-
`rtmp://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:1935/<access token>`
114-
`rtmp://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:1936/<access token>`
115-
`rtmps://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:2935/<access token>`
116-
`rtmps://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:2936/<access token>`
116+
`rtmp://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:1935/live/<access token>/<stream name>`<br/>
117+
`rtmp://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:1936/live/<access token>/<stream name>`<br/>
118+
`rtmps://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:2935/live/<access token>/<stream name>`<br/>
119+
`rtmps://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net:2936/live/<access token>/<stream name>`<br/>
117120

118121
##### Smooth Streaming
119122

120-
`http://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net/<access token>/ingest.isml`
121-
`https://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net/<access token>/ingest.isml`
123+
`http://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net/<access token>/ingest.isml/streams(<stream name>)`<br/>
124+
`https://<live event name>-<ams account name>-<region abbrev name>.channel.media.azure.net/<access token>/ingest.isml/streams(<stream name>)`<br/>
122125

123126
## Live Event preview URL
124127

0 commit comments

Comments
 (0)