Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
make simulcastConfig nulable in TracksAdded v3
Browse files Browse the repository at this point in the history
  • Loading branch information
karkakol committed Jan 10, 2024
1 parent d4920c7 commit d9e820d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
package org.membraneframework.rtc

import com.google.gson.annotations.SerializedName

/**
* Enum describing possible track encodings.
* `"h"` - original encoding
* `"m"` - original encoding scaled down by 2
* `"l"` - original encoding scaled down by 4
*/
enum class TrackEncoding(val rid: String) {
L("l"), M("m"), H("h");
@SerializedName("l")
L("l"),
@SerializedName("m")
M("m"),
@SerializedName("h")
H("h");

companion object {
fun fromString(s: String): TrackEncoding? {
Expand Down

0 comments on commit d9e820d

Please sign in to comment.