Streaming Locators - List Paths

Bu Akış Bulucu tarafından desteklenen Yolları Listele

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

URI Parametreleri

Name İçinde Gerekli Tür Description
accountName
path True

string

Media Services hesap adı.

resourceGroupName
path True

string

Azure aboneliğindeki kaynak grubunun adı.

streamingLocatorName
path True

string

Akış Bulucu adı.

subscriptionId
path True

string

Microsoft Azure aboneliğinin benzersiz tanımlayıcısı.

api-version
query True

string

İstemci isteğiyle kullanılacak API'nin sürümü.

Yanıtlar

Name Tür Description
200 OK

ListPathsResponse

Tamam

Other Status Codes

ErrorResponse

Ayrıntılı hata bilgileri.

Örnekler

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

Tanımlar

Name Description
EncryptionScheme

Şifreleme düzeni

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

ListPathsResponse

listPaths eylemi için yanıt sınıfı

StreamingPath

Akış için yol sınıfı

StreamingPolicyStreamingProtocol

Akış protokolü

EncryptionScheme

Şifreleme düzeni

Name Tür Description
CommonEncryptionCbcs

string

CommonEncryptionCbcs şeması

CommonEncryptionCenc

string

CommonEncryptionCenc şeması

EnvelopeEncryption

string

EnvelopeEncryption şeması

NoEncryption

string

NoEncryption şeması

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorDetail

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

ListPathsResponse

listPaths eylemi için yanıt sınıfı

Name Tür Description
downloadPaths

string[]

Geçerli Akış Bulucu tarafından desteklenen Yolları İndirme

streamingPaths

StreamingPath[]

Geçerli Akış Bulucu tarafından desteklenen Akış Yolları

StreamingPath

Akış için yol sınıfı

Name Tür Description
encryptionScheme

EncryptionScheme

Şifreleme düzeni

paths

string[]

Her protokol ve encryptionScheme çifti için akış yolları

streamingProtocol

StreamingPolicyStreamingProtocol

Akış protokolü

StreamingPolicyStreamingProtocol

Akış protokolü

Name Tür Description
Dash

string

DASH protokolü

Download

string

protokolü indirme

Hls

string

HLS protokolü

SmoothStreaming

string

SmoothStreaming protokolü