Google.Cast.RemoteDisplay.CastRemoteDisplayConfiguration

Specifies the remote display configuration to set up a session.

Summary

Constructors and Destructors

CastRemoteDisplayConfiguration()
Creates default remote display configuration to set up a session.

Properties

DisableAdaptiveVideoBitrate
bool
Whether to disable adaptive video bitrate.
FrameRate
The frame rate expected by the remote display session from the game.
Resolution
The TV resolution to use for the remote display session.
ResolutionDimensions
Vector2
Returns the current resolution width and height as a 2-D vector.

Properties

DisableAdaptiveVideoBitrate

bool DisableAdaptiveVideoBitrate

Whether to disable adaptive video bitrate.

If true, use a fixed bitrate set to 3 Mbps. The default is false. This is an experimental feature. This field is iOS-only. Ignored by Android and Unity simulator.

FrameRate

CastRemoteDisplayFrameRate FrameRate

The frame rate expected by the remote display session from the game.

The video encoder on the device and the TV will expect the game to provide frames at this rate. If the game exceeds this frame rate, then it is possible for stutters and slowdowns to occur. Slower devices and bandwidth conditions might slow down actual framerate on the TV. This field is iOS-only. Ignored by Android and Unity simulator.

Resolution

CastRemoteDisplayResolution Resolution

The TV resolution to use for the remote display session.

Higher the resolution, the more bandwidth required. This field is fully supported on iOS. Android and Unity simulator use this to change the camera texture resolution - using a custom render texture instead of a camera will not use the resolution set here.

ResolutionDimensions

Vector2 ResolutionDimensions

Returns the current resolution width and height as a 2-D vector.

Public functions

CastRemoteDisplayConfiguration

 CastRemoteDisplayConfiguration()

Creates default remote display configuration to set up a session.