Class PsnrApi
Inheritance
System.Object
PsnrApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Encodings.Streams.Qc.Psnr
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class PsnrApi
Constructors
PsnrApi(IBitmovinApiClientFactory)
Declaration
public PsnrApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of PsnrApi
Declaration
public static BitmovinApiBuilder<PsnrApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<PsnrApi> |
Methods
CreateAsync(String, String)
Activate PSNR quality metrics for the selected stream
Declaration
public Task<BitmovinResponse> CreateAsync(string encodingId, string streamId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | streamId | Id of the stream. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
ListAsync(String, String, Func<PsnrApi.ListQueryParams, PsnrApi.ListQueryParams>[])
Get Stream PSNR metrics
Declaration
public Task<PaginationResponse<PsnrQualityMetric>> ListAsync(string encodingId, string streamId, params Func<PsnrApi.ListQueryParams, PsnrApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | streamId | Id of the stream. (required) |
System.Func<PsnrApi.ListQueryParams, PsnrApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<PsnrQualityMetric>> |