npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_mediaservices_streamingservice

v3.0.0

Published

DataFire integration for Azure Media Services

Downloads

5

Readme

@datafire/azure_mediaservices_streamingservice

Client library for Azure Media Services

Installation and Usage

npm install --save @datafire/azure_mediaservices_streamingservice
let azure_mediaservices_streamingservice = require('@datafire/azure_mediaservices_streamingservice').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Streaming resource management client for Azure Media Services

Actions

LiveEvents_List

Lists the Live Events in the account.

azure_mediaservices_streamingservice.LiveEvents_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • api-version required string: The Version of the API to be used with the client request.

Output

LiveEvents_Delete

Deletes a Live Event.

azure_mediaservices_streamingservice.LiveEvents_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

LiveEvents_Get

Gets a Live Event.

azure_mediaservices_streamingservice.LiveEvents_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.

Output

LiveEvents_Update

Updates a existing Live Event.

azure_mediaservices_streamingservice.LiveEvents_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.
    • parameters required LiveEvent

Output

LiveEvents_Create

Creates a Live Event.

azure_mediaservices_streamingservice.LiveEvents_Create({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.
    • autoStart boolean: The flag indicates if the resource should be automatically started on creation.
    • parameters required LiveEvent

Output

LiveOutputs_List

Lists the Live Outputs in the Live Event.

azure_mediaservices_streamingservice.LiveOutputs_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.

Output

LiveOutputs_Delete

Deletes a Live Output.

azure_mediaservices_streamingservice.LiveOutputs_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "liveOutputName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • liveOutputName required string: The name of the Live Output.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

LiveOutputs_Get

Gets a Live Output.

azure_mediaservices_streamingservice.LiveOutputs_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "liveOutputName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • liveOutputName required string: The name of the Live Output.
    • api-version required string: The Version of the API to be used with the client request.

Output

LiveOutputs_Create

Creates a Live Output.

azure_mediaservices_streamingservice.LiveOutputs_Create({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "liveOutputName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • liveOutputName required string: The name of the Live Output.
    • api-version required string: The Version of the API to be used with the client request.
    • parameters required LiveOutput

Output

LiveEvents_Reset

Resets an existing Live Event.

azure_mediaservices_streamingservice.LiveEvents_Reset({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

LiveEvents_Start

Starts an existing Live Event.

azure_mediaservices_streamingservice.LiveEvents_Start({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

LiveEvents_Stop

Stops an existing Live Event.

azure_mediaservices_streamingservice.LiveEvents_Stop({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "liveEventName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • liveEventName required string: The name of the Live Event.
    • api-version required string: The Version of the API to be used with the client request.
    • parameters required LiveEventActionInput

Output

Output schema unknown

StreamingEndpoints_List

Lists the StreamingEndpoints in the account.

azure_mediaservices_streamingservice.StreamingEndpoints_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • api-version required string: The Version of the API to be used with the client request.

Output

StreamingEndpoints_Delete

Deletes a StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

StreamingEndpoints_Get

Gets a StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.

Output

StreamingEndpoints_Update

Updates a existing StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.
    • parameters required StreamingEndpoint

Output

StreamingEndpoints_Create

Creates a StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Create({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.
    • autoStart boolean: The flag indicates if the resource should be automatically started on creation.
    • parameters required StreamingEndpoint

Output

StreamingEndpoints_Scale

Scales an existing StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Scale({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.
    • parameters required StreamingEntityScaleUnit

Output

Output schema unknown

StreamingEndpoints_Start

Starts an existing StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Start({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

StreamingEndpoints_Stop

Stops an existing StreamingEndpoint.

azure_mediaservices_streamingservice.StreamingEndpoints_Stop({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "streamingEndpointName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • streamingEndpointName required string: The name of the StreamingEndpoint.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

Definitions

AkamaiAccessControl

AkamaiSignatureHeaderAuthenticationKey

  • AkamaiSignatureHeaderAuthenticationKey object: Akamai Signature Header authentication key.
    • base64Key string: authentication key
    • expiration string: The expiration time of the authentication key.
    • identifier string: identifier of the key

ApiError

CrossSiteAccessPolicies

  • CrossSiteAccessPolicies object: The client access policy.
    • clientAccessPolicy string: The content of clientaccesspolicy.xml used by Silverlight.
    • crossDomainPolicy string: The content of crossdomain.xml used by Silverlight.

Hls

  • Hls object: The HLS configuration.
    • fragmentsPerTsSegment integer: The amount of fragments per HTTP Live Streaming (HLS) segment.

IPAccessControl

  • IPAccessControl object: The IP access control.
    • allow array: The IP allow list.

IPRange

  • IPRange object: The IP address range in the CIDR scheme.
    • address string: The IP address.
    • name string: The friendly name for the IP address range.
    • subnetPrefixLength integer: The subnet mask prefix length (see CIDR notation).

LiveEvent

  • LiveEvent object: The Live Event.
    • properties LiveEventProperties
    • location string: The Azure Region of the resource.
    • tags object: Resource tags.
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

LiveEventActionInput

  • LiveEventActionInput object: The LiveEvent action input parameter definition.
    • removeOutputsOnStop boolean: The flag indicates if remove LiveOutputs on Stop.

LiveEventEncoding

  • LiveEventEncoding object: The Live Event encoding.
    • encodingType string (values: None, Basic, Standard, Premium1080p): The encoding type for Live Event. This value is specified at creation time and cannot be updated.
    • presetName string: The encoding preset name. This value is specified at creation time and cannot be updated.

LiveEventEndpoint

  • LiveEventEndpoint object: The Live Event endpoint.
    • protocol string: The endpoint protocol.
    • url string: The endpoint URL.

LiveEventInput

  • LiveEventInput object: The Live Event input.
    • accessControl LiveEventInputAccessControl
    • accessToken string: A unique identifier for a stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.
    • endpoints array: The input endpoints for the Live Event.
    • keyFrameIntervalDuration string: ISO 8601 timespan duration of the key frame interval duration.
    • streamingProtocol required string (values: FragmentedMP4, RTMP): The streaming protocol for the Live Event. This is specified at creation time and cannot be updated.

LiveEventInputAccessControl

  • LiveEventInputAccessControl object: The IP access control for Live Event Input.

LiveEventInputTrackSelection

  • LiveEventInputTrackSelection object: A track selection condition.
    • operation string: Comparing operation.
    • property string: Property name to select.
    • value string: Property value to select.

LiveEventListResult

  • LiveEventListResult object: The LiveEvent list result.
    • @odata.count integer: The number of result.
    • @odata.nextLink string: Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs.
    • value array: The result of the List Live Event operation.

LiveEventOutputTranscriptionTrack

  • LiveEventOutputTranscriptionTrack object: Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription.
    • trackName required string: The output track name.

LiveEventPreview

  • LiveEventPreview object: The Live Event preview.
    • accessControl LiveEventPreviewAccessControl
    • alternativeMediaId string: An Alternative Media Identifier associated with the StreamingLocator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.
    • endpoints array: The endpoints for preview.
    • previewLocator string: The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created.
    • streamingPolicyName string: The name of streaming policy used for the LiveEvent preview. This value is specified at creation time and cannot be updated.

LiveEventPreviewAccessControl

  • LiveEventPreviewAccessControl object: The IP access control for Live Event preview.

LiveEventProperties

  • LiveEventProperties object: The Live Event properties.
    • created string: The exact time the Live Event was created.
    • crossSiteAccessPolicies CrossSiteAccessPolicies
    • description string: The Live Event description.
    • encoding LiveEventEncoding
    • input required LiveEventInput
    • lastModified string: The exact time the Live Event was last modified.
    • preview LiveEventPreview
    • provisioningState string: The provisioning state of the Live Event.
    • resourceState string (values: Stopped, Starting, Running, Stopping, Deleting): The resource state of the Live Event.
    • streamOptions array: The options to use for the LiveEvent. This value is specified at creation time and cannot be updated.
      • items string (values: Default, LowLatency)
    • transcriptions array: The Live Event transcription.
    • vanityUrl boolean: Specifies whether to use a vanity url with the Live Event. This value is specified at creation time and cannot be updated.

LiveEventTranscription

  • LiveEventTranscription object: Describes the transcription tracks in the output of a Live Event, generated using speech-to-text transcription.
    • inputTrackSelection array: Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied.
    • language string: Specifies the language (locale) used for speech-to-text transcription � it should match the spoken language in the audio track. The value should be in BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are 'en-US' and 'en-GB'.
    • outputTranscriptionTrack LiveEventOutputTranscriptionTrack

LiveOutput

  • LiveOutput object: The Live Output.
    • properties LiveOutputProperties
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

LiveOutputListResult

  • LiveOutputListResult object: The LiveOutput list result.
    • @odata.count integer: The number of result.
    • @odata.nextLink string: Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs.
    • value array: The result of the List Live Output operation.

LiveOutputProperties

  • LiveOutputProperties object: The JSON object that contains the properties required to create a Live Output.
    • archiveWindowLength required string: ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content.
    • assetName required string: The asset name.
    • created string: The exact time the Live Output was created.
    • description string: The description of the Live Output.
    • hls Hls
    • lastModified string: The exact time the Live Output was last modified.
    • manifestName string: The manifest file name. If not provided, the service will generate one automatically.
    • outputSnapTime integer: The output snapshot time.
    • provisioningState string: The provisioning state of the Live Output.
    • resourceState string (values: Creating, Running, Deleting): The resource state of the Live Output.

ODataError

  • ODataError object: Information about an error.
    • code string: A language-independent error name.
    • details array: The error details.
    • message string: The error message.
    • target string: The target of the error (for example, the name of the property in error).

StreamingEndpoint

  • StreamingEndpoint object: The StreamingEndpoint.
    • properties StreamingEndpointProperties
    • location string: The Azure Region of the resource.
    • tags object: Resource tags.
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

StreamingEndpointAccessControl

StreamingEndpointListResult

  • StreamingEndpointListResult object: The StreamingEndpoint list result.
    • @odata.count integer: The number of result.
    • @odata.nextLink string: Th link to the next set of results. Not empty if value contains incomplete list of StreamingEndpoints.
    • value array: The result of the List StreamingEndpoint operation.

StreamingEndpointProperties

  • StreamingEndpointProperties object: The StreamingEndpoint properties.
    • accessControl StreamingEndpointAccessControl
    • availabilitySetName string: The name of the AvailabilitySet used with this StreamingEndpoint for high availability streaming. This value can only be set at creation time.
    • cdnEnabled boolean: The CDN enabled flag.
    • cdnProfile string: The CDN profile name.
    • cdnProvider string: The CDN provider name.
    • created string: The exact time the StreamingEndpoint was created.
    • crossSiteAccessPolicies CrossSiteAccessPolicies
    • customHostNames array: The custom host names of the StreamingEndpoint
      • items string: custom host name
    • description string: The StreamingEndpoint description.
    • freeTrialEndTime string: The free trial expiration time.
    • hostName string: The StreamingEndpoint host name.
    • lastModified string: The exact time the StreamingEndpoint was last modified.
    • maxCacheAge integer: Max cache age
    • provisioningState string: The provisioning state of the StreamingEndpoint.
    • resourceState string (values: Stopped, Starting, Running, Stopping, Deleting, Scaling): The resource state of the StreamingEndpoint.
    • scaleUnits required integer: The number of scale units. Use the Scale operation to adjust this value.

StreamingEntityScaleUnit

  • StreamingEntityScaleUnit object: scale units definition
    • scaleUnit integer: The scale unit number of the StreamingEndpoint.