Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #60 from xpouyat/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
xpouyat authored May 20, 2024
2 parents 77a16e5 + d874e00 commit 8099713
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion MK.IO/CsharpDotNet2/Model/LiveEventEncoding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class LiveEventEncoding
/// <value>Use an ISO 8601 time value between 1 and 10 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use PT2S to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events.</value>
[DataMember(Name = "keyFrameInterval", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "keyFrameInterval")]
public TimeSpan KeyFrameInterval { get; set; }
public TimeSpan? KeyFrameInterval { get; set; }

/// <summary>
/// Defaults to either Default720p or Default1080p depending on encoding type. May be used to specify alternative encoding templates - contact support for assistance if your needs are complex.
Expand Down
2 changes: 1 addition & 1 deletion MK.IO/CsharpDotNet2/Model/LiveEventInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class LiveEventInput
/// <value>ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.</value>
[DataMember(Name = "keyFrameIntervalDuration", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "keyFrameIntervalDuration")]
public TimeSpan KeyFrameIntervalDuration { get; set; }
public TimeSpan? KeyFrameIntervalDuration { get; set; }

/// <summary>
/// The input protocol for the live event. This is specified at creation time and cannot be updated. Must be one of RTMP or SRT. fmp4 smooth input is not supported.
Expand Down
4 changes: 2 additions & 2 deletions MK.IO/CsharpDotNet2/Model/LiveEventProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ public class LiveEventProperties
/// <value>The current provisioning state of the resource. One of 'InProgress', 'Succeeded', or 'Failed'</value>
[DataMember(Name = "provisioningState", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "provisioningState")]
public LiveEventProvisioningState ProvisioningState { get; private set; }
public LiveEventProvisioningState? ProvisioningState { get; private set; }

/// <summary>
/// The current state of the resource. One of 'Stopped', 'Starting', 'Running', 'Stopping', or 'Deleting'.
/// </summary>
/// <value>The current state of the resource. One of 'Stopped', 'Starting', 'Running', 'Stopping', or 'Deleting'.</value>
[DataMember(Name = "resourceState", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "resourceState")]
public LiveEventResourceState ResourceState { get; private set; }
public LiveEventResourceState? ResourceState { get; private set; }

/// <summary>
/// A list of streaming options for the live event. One of 'Default' or 'LowLatency'. Only one value permitted in the list.
Expand Down
6 changes: 3 additions & 3 deletions MK.IO/CsharpDotNet2/Model/LiveOutputProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ public class LiveOutputProperties
/// <value>The provisioning state of the live output.</value>
[DataMember(Name = "provisioningState", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "provisioningState")]
public LiveOutputProvisioningState ProvisioningState { get; private set; }
public LiveOutputProvisioningState? ProvisioningState { get; private set; }

/// <summary>
/// The resource state of the live output.
/// </summary>
/// <value>The resource state of the live output.</value>
[DataMember(Name = "resourceState", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "resourceState")]
public LiveOutputResourceState ResourceState { get; private set; }
public LiveOutputResourceState? ResourceState { get; private set; }

/// <summary>
/// Not supported.
Expand All @@ -98,7 +98,7 @@ public class LiveOutputProperties
/// <value>Not supported. ISO 8601 timespan duration of the rewind window length during live playback. This is the amount of time that the live output will be able to rewind.</value>
[DataMember(Name = "rewindWindowLength", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "rewindWindowLength")]
[Obsolete] public TimeSpan RewindWindowLength { get; set; }
[Obsolete] public TimeSpan? RewindWindowLength { get; set; }


/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions MK.IO/CsharpDotNet2/Model/StreamingEndpointProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ public class StreamingEndpointProperties
/// <value>The provisioning state of the streaming endpoint. Set by the system. One of InProgress,Succeeded,Failed.</value>
[DataMember(Name = "provisioningState", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "provisioningState")]
public StreamingEndpointProvisioningState ProvisioningState { get; private set; }
public StreamingEndpointProvisioningState? ProvisioningState { get; private set; }

/// <summary>
/// The runtime state of the streaming endpoint. Set by the system. One of Running,Stopped,Deleted,Creating,Starting,Stopping,Deleting,Scaling.
/// </summary>
/// <value>The runtime state of the streaming endpoint. Set by the system. One of Running,Stopped,Deleted,Creating,Starting,Stopping,Deleting,Scaling.</value>
[DataMember(Name = "resourceState", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "resourceState")]
public StreamingEndpointResourceState ResourceState { get; private set; }
public StreamingEndpointResourceState? ResourceState { get; private set; }

/// <summary>
/// The number of scale units for the streaming endpoint. This will determine your minimum scale. A value of 0 will result in the streaming endpoints using a Standard SKU. A value greater than zero indicates that the 'Premium' SKUs will be provisioned.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Repository has moved

Please go to **https://github.com/microsoft/MK.IO**

# MK.IO Client Library

A client library for [MediaKind MK.IO](https://mk.io).
Expand Down

0 comments on commit 8099713

Please sign in to comment.