Package dev.lavalink.youtube.sabr
Class FormatId
java.lang.Object
dev.lavalink.youtube.sabr.FormatId
Identifies a media format within a SABR stream. Corresponds to
misc.FormatId.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Stringkey()static @NotNull Stringstatic @NotNull FormatIdparse(@NotNull ProtoReader reader) voidwriteTo(@NotNull ProtoWriter writer, int field)
-
Field Details
-
itag
public final int itag -
lastModified
public final long lastModified -
xtags
-
-
Constructor Details
-
FormatId
-
-
Method Details
-
key
- Returns:
- A key uniquely identifying this format, mirroring googlevideo's
createKey.
-
key
-
writeTo
-
parse
-