Streaming Locators - List Paths
Daftar Jalur yang didukung oleh Pencari Lokasi Streaming ini
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths?api-version=2022-08-01
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
account
|
path | True |
string |
Nama akun Media Services. |
resource
|
path | True |
string |
Nama grup sumber daya dalam langganan Azure. |
streaming
|
path | True |
string |
Nama Pencari Lokasi Streaming. |
subscription
|
path | True |
string |
Pengidentifikasi unik untuk langganan Microsoft Azure. |
api-version
|
query | True |
string |
Versi API yang akan digunakan dengan permintaan klien. |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Informasi kesalahan terperinci. |
Contoh
List Paths which has streaming paths and download paths |
List Paths which has streaming paths only |
List Paths which has streaming paths and download paths
Permintaan sampel
Respon sampel
{
"streamingPaths": [
{
"streamingProtocol": "Hls",
"encryptionScheme": "NoEncryption",
"paths": [
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=m3u8-aapl)",
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=m3u8-aapl)",
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=m3u8-aapl)"
]
},
{
"streamingProtocol": "Dash",
"encryptionScheme": "NoEncryption",
"paths": [
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=mpd-time-csf)",
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=mpd-time-csf)",
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=mpd-time-csf)"
]
},
{
"streamingProtocol": "SmoothStreaming",
"encryptionScheme": "NoEncryption",
"paths": [
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest",
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest",
"/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest"
]
}
],
"downloadPaths": [
"/262a87b6-b538-4657-bac1-b6897924471d/textTrack.vtt",
"/262a87b6-b538-4657-bac1-b6897924471d/video1.mp4",
"/262a87b6-b538-4657-bac1-b6897924471d/video2.mp4",
"/262a87b6-b538-4657-bac1-b6897924471d/video3.mp4"
]
}
List Paths which has streaming paths only
Permintaan sampel
Respon sampel
{
"streamingPaths": [
{
"streamingProtocol": "Hls",
"encryptionScheme": "EnvelopeEncryption",
"paths": [
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbc)"
]
},
{
"streamingProtocol": "Dash",
"encryptionScheme": "EnvelopeEncryption",
"paths": [
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cbc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cbc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cbc)"
]
},
{
"streamingProtocol": "SmoothStreaming",
"encryptionScheme": "EnvelopeEncryption",
"paths": [
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cbc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cbc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cbc)"
]
},
{
"streamingProtocol": "Dash",
"encryptionScheme": "CommonEncryptionCenc",
"paths": [
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cenc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cenc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cenc)"
]
},
{
"streamingProtocol": "SmoothStreaming",
"encryptionScheme": "CommonEncryptionCenc",
"paths": [
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cenc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cenc)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cenc)"
]
},
{
"streamingProtocol": "Hls",
"encryptionScheme": "CommonEncryptionCbcs",
"paths": [
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)",
"/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)"
]
}
],
"downloadPaths": []
}
Definisi
Nama | Deskripsi |
---|---|
Encryption |
Skema enkripsi |
Error |
Info tambahan kesalahan manajemen sumber daya. |
Error |
Detail kesalahan. |
Error |
Respons kesalahan |
List |
Kelas respons untuk tindakan listPaths |
Streaming |
Kelas jalur untuk streaming |
Streaming |
Protokol Streaming |
EncryptionScheme
Skema enkripsi
Nama | Jenis | Deskripsi |
---|---|---|
CommonEncryptionCbcs |
string |
Skema CommonEncryptionCbcs |
CommonEncryptionCenc |
string |
Skema CommonEncryptionCenc |
EnvelopeEncryption |
string |
Skema EnvelopeEncryption |
NoEncryption |
string |
Skema NoEncryption |
ErrorAdditionalInfo
Info tambahan kesalahan manajemen sumber daya.
Nama | Jenis | Deskripsi |
---|---|---|
info |
object |
Info tambahan. |
type |
string |
Jenis info tambahan. |
ErrorDetail
Detail kesalahan.
Nama | Jenis | Deskripsi |
---|---|---|
additionalInfo |
Info tambahan kesalahan. |
|
code |
string |
Kode kesalahan. |
details |
Detail kesalahan. |
|
message |
string |
Pesan kesalahan. |
target |
string |
Target kesalahan. |
ErrorResponse
Respons kesalahan
Nama | Jenis | Deskripsi |
---|---|---|
error |
Objek kesalahan. |
ListPathsResponse
Kelas respons untuk tindakan listPaths
Nama | Jenis | Deskripsi |
---|---|---|
downloadPaths |
string[] |
Jalur Unduhan yang didukung oleh Pencari Lokasi Streaming saat ini |
streamingPaths |
Jalur Streaming yang didukung oleh Pencari Lokasi Streaming saat ini |
StreamingPath
Kelas jalur untuk streaming
Nama | Jenis | Deskripsi |
---|---|---|
encryptionScheme |
Skema enkripsi |
|
paths |
string[] |
Jalur streaming untuk setiap protokol dan pasangan encryptionScheme |
streamingProtocol |
Protokol Streaming |
StreamingPolicyStreamingProtocol
Protokol Streaming
Nama | Jenis | Deskripsi |
---|---|---|
Dash |
string |
Protokol DASH |
Download |
string |
Mengunduh protokol |
Hls |
string |
Protokol HLS |
SmoothStreaming |
string |
Protokol SmoothStreaming |