Skip to content

Commit

Permalink
Updated C# client to v1.198.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitmovin OpenApi Bot committed Jul 9, 2024
1 parent f45c5ab commit f198ec8
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ Add this dependency to your project:

Package Manager
```shell
Install-Package Bitmovin.Api.Sdk -Version 1.197.0
Install-Package Bitmovin.Api.Sdk -Version 1.198.0
```

.NET CLI

```shell
dotnet add package Bitmovin.Api.Sdk --version 1.197.0
dotnet add package Bitmovin.Api.Sdk --version 1.198.0
```

## Initialization
Expand Down
4 changes: 2 additions & 2 deletions docs/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ <h2 id="installation">Installation</h2>
<h3 id="nuget">Nuget</h3>
<p>Add this dependency to your project:</p>
<p>Package Manager</p>
<pre><code class="lang-shell">Install-Package Bitmovin.Api.Sdk -Version 1.197.0
<pre><code class="lang-shell">Install-Package Bitmovin.Api.Sdk -Version 1.198.0
</code></pre>
<p>.NET CLI</p>
<pre><code class="lang-shell">dotnet add package Bitmovin.Api.Sdk --version 1.197.0
<pre><code class="lang-shell">dotnet add package Bitmovin.Api.Sdk --version 1.198.0
</code></pre>
<h2 id="initialization">Initialization</h2>
<pre><code class="lang-csharp"> using Bitmovin.Api;
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ <h2 id="installation">Installation</h2>
<h3 id="nuget">Nuget</h3>
<p>Add this dependency to your project:</p>
<p>Package Manager</p>
<pre><code class="lang-shell">Install-Package Bitmovin.Api.Sdk -Version 1.197.0
<pre><code class="lang-shell">Install-Package Bitmovin.Api.Sdk -Version 1.198.0
</code></pre>
<p>.NET CLI</p>
<pre><code class="lang-shell">dotnet add package Bitmovin.Api.Sdk --version 1.197.0
<pre><code class="lang-shell">dotnet add package Bitmovin.Api.Sdk --version 1.198.0
</code></pre>
<h2 id="initialization">Initialization</h2>
<pre><code class="lang-csharp"> using Bitmovin.Api;
Expand Down
4 changes: 2 additions & 2 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"output": {
".html": {
"relative_path": "README.html",
"hash": "lnkiGKKEI5xhYxvfn70MiA=="
"hash": "3p4/tz4NJ6MZ33dAUgZCWQ=="
}
},
"is_incremental": false,
Expand All @@ -27,7 +27,7 @@
"output": {
".html": {
"relative_path": "index.html",
"hash": "HySxQDLMspwKGwa7Qr3lqw=="
"hash": "LynnURIulhux+lo/7AIUfg=="
}
},
"is_incremental": false,
Expand Down
2 changes: 1 addition & 1 deletion src/Bitmovin.Api.Sdk/Bitmovin.Api.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<PackageVersion>1.197.0</PackageVersion>
<PackageVersion>1.198.0</PackageVersion>
<Title>Bitmovin C# API Client</Title>
<Authors>Bitmovin Inc</Authors>
<Description>C#-Client which enables you to seamlessly integrate the Bitmovin API into your projects. Using this API client requires an active account.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Bitmovin.Api.Sdk/Common/BitmovinApiClientFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected virtual Dictionary<string, string> GetHeaders()
var headers = new Dictionary<string, string>
{
{"X-Api-Client", "bitmovin-api-sdk-dotnet"},
{"X-Api-Client-Version", "1.197.0"}
{"X-Api-Client-Version", "1.198.0"}
};

if (!string.IsNullOrEmpty(ApiKey))
Expand Down
6 changes: 6 additions & 0 deletions src/Bitmovin.Api.Sdk/Models/CloudRegion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ public enum CloudRegion
[EnumMember(Value = "GOOGLE_US_WEST_2")]
GOOGLE_US_WEST_2,

/// <summary>
/// Google Dammam, Saudi Arabia
/// </summary>
[EnumMember(Value = "GOOGLE_ME_CENTRAL_2")]
GOOGLE_ME_CENTRAL_2,

/// <summary>
/// Azure East Asia, Hong Kong
/// </summary>
Expand Down
8 changes: 7 additions & 1 deletion src/Bitmovin.Api.Sdk/Models/GoogleCloudRegion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ public enum GoogleCloudRegion
/// Los Angeles, California, USA
/// </summary>
[EnumMember(Value = "US_WEST_2")]
US_WEST_2
US_WEST_2,

/// <summary>
/// Dammam, Saudi Arabia
/// </summary>
[EnumMember(Value = "ME_CENTRAL_2")]
ME_CENTRAL_2
}
}
6 changes: 3 additions & 3 deletions src/Bitmovin.Api.Sdk/Models/H264VideoConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@ public class H264VideoConfiguration : VideoConfiguration
public bool? Cabac { get; set; }

/// <summary>
/// Maximum Bitrate
/// Maximum Bitrate (bps)
/// </summary>
[JsonProperty(PropertyName = "maxBitrate")]
public long? MaxBitrate { get; set; }

/// <summary>
/// Minimum Bitrate
/// Minimum Bitrate (bps)
/// </summary>
[JsonProperty(PropertyName = "minBitrate")]
public long? MinBitrate { get; set; }

/// <summary>
/// Playback device buffer size
/// Playback device buffer size (bits)
/// </summary>
[JsonProperty(PropertyName = "bufsize")]
public long? Bufsize { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Bitmovin.Api.Sdk/Models/H265VideoConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ public class H265VideoConfiguration : VideoConfiguration
public int? Qp { get; set; }

/// <summary>
/// Maximum Bitrate
/// Maximum Bitrate (bps)
/// </summary>
[JsonProperty(PropertyName = "maxBitrate")]
public long? MaxBitrate { get; set; }

/// <summary>
/// Minimum Bitrate
/// Minimum Bitrate (bps)
/// </summary>
[JsonProperty(PropertyName = "minBitrate")]
public long? MinBitrate { get; set; }

/// <summary>
/// Size of the VBV buffer (kbits)
/// Size of the VBV buffer (bits)
/// </summary>
[JsonProperty(PropertyName = "bufsize")]
public long? Bufsize { get; set; }
Expand Down
10 changes: 8 additions & 2 deletions src/Bitmovin.Api.Sdk/Models/PcmChannelLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ namespace Bitmovin.Api.Sdk.Models
public enum PcmChannelLayout
{
/// <summary>
/// Channel layout Mono
/// Channel layout with single channel
/// </summary>
[EnumMember(Value = "MONO")]
MONO
MONO,

/// <summary>
/// Channel layout with left and right channel
/// </summary>
[EnumMember(Value = "STEREO")]
STEREO
}
}
8 changes: 7 additions & 1 deletion src/Bitmovin.Api.Sdk/Models/PcmSampleFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ public enum PcmSampleFormat
/// Signed 24 bit little endian sampling
/// </summary>
[EnumMember(Value = "S24LE")]
S24LE
S24LE,

/// <summary>
/// Singed 32 bit little endian sampling
/// </summary>
[EnumMember(Value = "S32LE")]
S32LE
}
}

0 comments on commit f198ec8

Please sign in to comment.