Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Runtime/Scripts/Core/Room.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ public enum ContinualGatheringPolicy
GATHER_CONTINUALLY = 1
}

/// <summary>
/// Controls how the encoder degrades quality when bandwidth is constrained.
/// </summary>
public enum DegradationPreference
{
/// <summary>Balance between framerate and resolution degradation.</summary>
Balanced = 0,
/// <summary>Degrade resolution to maintain framerate (prioritize smooth motion).</summary>
MaintainFramerate = 1,
/// <summary>Degrade framerate to maintain resolution (prioritize image clarity).</summary>
MaintainResolution = 2,
/// <summary>
/// Maintain both framerate and resolution. Frames may be dropped before encoding
/// if necessary to avoid overusing network and encoder resources.
/// </summary>
MaintainFramerateAndResolution = 4
}

public class IceServer
{
Expand Down
Loading
Loading