Streaming Locators - List Paths

Von diesem Streaminglocator unterstützte Pfade auflisten

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths?api-version=2022-08-01

URI-Parameter

Name In Erforderlich Typ Beschreibung
accountName
path True

string

Der Name des Media Services-Kontos.

resourceGroupName
path True

string

Der Name der Ressourcengruppe innerhalb des Azure-Abonnements.

streamingLocatorName
path True

string

Der Name des Streaminglocators.

subscriptionId
path True

string

Der eindeutige Bezeichner für ein Microsoft Azure-Abonnement.

api-version
query True

string

Die Version der API, die mit der Clientanforderung verwendet werden soll.

Antworten

Name Typ Beschreibung
200 OK

ListPathsResponse

OK

Other Status Codes

ErrorResponse

Ausführliche Fehlerinformationen.

Beispiele

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

Sample Request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/streamingLocators/clearStreamingLocator/listPaths?api-version=2022-08-01

Sample Response

{
  "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

Sample Request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/streamingLocators/secureStreamingLocator/listPaths?api-version=2022-08-01

Sample Response

{
  "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": []
}

Definitionen

Name Beschreibung
EncryptionScheme

Verschlüsselungsschema

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

ErrorDetail

Die Fehlerdetails.

ErrorResponse

Fehlerantwort

ListPathsResponse

Klasse der Antwort für die listPaths-Aktion

StreamingPath

Klasse von Pfaden für Streaming

StreamingPolicyStreamingProtocol

Streamingprotokoll

EncryptionScheme

Verschlüsselungsschema

Name Typ Beschreibung
CommonEncryptionCbcs

string

CommonEncryptionCbcs-Schema

CommonEncryptionCenc

string

CommonEncryptionCenc-Schema

EnvelopeEncryption

string

EnvelopeEncryption-Schema

NoEncryption

string

NoEncryption-Schema

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

Name Typ Beschreibung
info

object

Zusätzliche Informationen.

type

string

Typ der zusätzlichen Informationen.

ErrorDetail

Die Fehlerdetails.

Name Typ Beschreibung
additionalInfo

ErrorAdditionalInfo[]

Die zusätzlichen Fehlerinformationen.

code

string

Der Fehlercode.

details

ErrorDetail[]

Die Fehlerdetails.

message

string

Die Fehlermeldung.

target

string

Das Fehlerziel.

ErrorResponse

Fehlerantwort

Name Typ Beschreibung
error

ErrorDetail

Das Fehlerobjekt.

ListPathsResponse

Klasse der Antwort für die listPaths-Aktion

Name Typ Beschreibung
downloadPaths

string[]

Vom aktuellen Streaminglocator unterstützte Downloadpfade

streamingPaths

StreamingPath[]

Vom aktuellen Streaminglocator unterstützte Streamingpfade

StreamingPath

Klasse von Pfaden für Streaming

Name Typ Beschreibung
encryptionScheme

EncryptionScheme

Verschlüsselungsschema

paths

string[]

Streamingpfade für jedes Protokoll- und VerschlüsselungScheme-Paar

streamingProtocol

StreamingPolicyStreamingProtocol

Streamingprotokoll

StreamingPolicyStreamingProtocol

Streamingprotokoll

Name Typ Beschreibung
Dash

string

DASH-Protokoll

Download

string

Protokoll herunterladen

Hls

string

HLS-Protokoll

SmoothStreaming

string

SmoothStreaming-Protokoll