Streaming Locators - List Paths
Enumerar rutas de acceso compatibles con este localizador de streaming
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths?api-version=2022-08-01
Parámetros de identificador URI
Nombre | En | Requerido | Tipo | Description |
---|---|---|---|---|
account
|
path | True |
string |
Nombre de la cuenta de Media Services. |
resource
|
path | True |
string |
Nombre del grupo de recursos dentro de la suscripción de Azure. |
streaming
|
path | True |
string |
Nombre del localizador de streaming. |
subscription
|
path | True |
string |
Identificador único de una suscripción de Microsoft Azure. |
api-version
|
query | True |
string |
Versión de la API que se va a usar con la solicitud de cliente. |
Respuestas
Nombre | Tipo | Description |
---|---|---|
200 OK |
Aceptar |
|
Other Status Codes |
Información detallada del error. |
Ejemplos
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
Solicitud de ejemplo
Respuesta de muestra
{
"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
Solicitud de ejemplo
Respuesta de muestra
{
"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": []
}
Definiciones
Nombre | Description |
---|---|
Encryption |
Esquema de cifrado |
Error |
Información adicional sobre el error de administración de recursos. |
Error |
Detalle del error. |
Error |
Respuesta de error |
List |
Clase de respuesta para la acción listPaths |
Streaming |
Clase de rutas de acceso para streaming |
Streaming |
Protocolo de streaming |
EncryptionScheme
Esquema de cifrado
Nombre | Tipo | Description |
---|---|---|
CommonEncryptionCbcs |
string |
Esquema CommonEncryptionCbcs |
CommonEncryptionCenc |
string |
Esquema CommonEncryptionCenc |
EnvelopeEncryption |
string |
Esquema EnvelopeEncryption |
NoEncryption |
string |
Esquema NoEncryption |
ErrorAdditionalInfo
Información adicional sobre el error de administración de recursos.
Nombre | Tipo | Description |
---|---|---|
info |
object |
Información adicional. |
type |
string |
Tipo de información adicional. |
ErrorDetail
Detalle del error.
Nombre | Tipo | Description |
---|---|---|
additionalInfo |
Información adicional del error. |
|
code |
string |
Código de error. |
details |
Los detalles del error. |
|
message |
string |
El mensaje de error. |
target |
string |
Destino del error. |
ErrorResponse
Respuesta de error
Nombre | Tipo | Description |
---|---|---|
error |
Objeto de error. |
ListPathsResponse
Clase de respuesta para la acción listPaths
Nombre | Tipo | Description |
---|---|---|
downloadPaths |
string[] |
Rutas de acceso de descarga compatibles con el localizador de streaming actual |
streamingPaths |
Rutas de acceso de streaming compatibles con el localizador de streaming actual |
StreamingPath
Clase de rutas de acceso para streaming
Nombre | Tipo | Description |
---|---|---|
encryptionScheme |
Esquema de cifrado |
|
paths |
string[] |
Rutas de acceso de streaming para cada protocolo y par encryptionScheme |
streamingProtocol |
Protocolo de streaming |
StreamingPolicyStreamingProtocol
Protocolo de streaming
Nombre | Tipo | Description |
---|---|---|
Dash |
string |
Protocolo DASH |
Download |
string |
Descargar protocolo |
Hls |
string |
Protocolo HLS |
SmoothStreaming |
string |
Protocolo SmoothStreaming |