Millicast Unity SDK
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
Dolby.Millicast.Capabilities Class Reference

This class exposes APIs necessary to query device capabilities, like codecs and resolutions.
More...

Public Types

enum  SupportedResolutions {
  RES_720P , RES_1080P , RES_1440P , RES_2K ,
  RES_4K , ANY
}
 Returned by GetMaximumSupportedResolution to denote the maximum supported resolution for the queried codec.
 

Static Public Member Functions

static VideoCodec[] GetAvailableVideoCodecs ()
 Returns a list of available video codecs. Device implementation dependant.
 
static VideoCodec GetFirstAvailableVideoCodec ()
 Returns the first available codec.
 
static SupportedResolutions GetMaximumSupportedResolution (VideoCodec codec)
 Query the maximum supported resolution for the given codec on this device.
 

Detailed Description

This class exposes APIs necessary to query device capabilities, like codecs and resolutions.

Member Function Documentation

◆ GetAvailableVideoCodecs()

static VideoCodec[] Dolby.Millicast.Capabilities.GetAvailableVideoCodecs ( )
static

Returns a list of available video codecs. Device implementation dependant.

Returns
An array of VideoCodec supported by the current device

◆ GetFirstAvailableVideoCodec()

static VideoCodec Dolby.Millicast.Capabilities.GetFirstAvailableVideoCodec ( )
static

Returns the first available codec.

Returns
The first available VideoCodec on the platform. Generally VideoCodec.VP8

◆ GetMaximumSupportedResolution()

static SupportedResolutions Dolby.Millicast.Capabilities.GetMaximumSupportedResolution ( VideoCodec  codec)
static

Query the maximum supported resolution for the given codec on this device.

Parameters
codecThe video codec to be queried
Returns
The maximum SupportedResolutions on this device.

The documentation for this class was generated from the following file: