
org.red5.codec.VideoCommand Maven / Gradle / Ivy
package org.red5.codec;
public enum VideoCommand {
START_SEEK((byte) 0), END_SEEK((byte) 0x01);
private final byte value;
VideoCommand(byte value) {
this.value = value;
}
public byte getValue() {
return value;
}
public static VideoCommand valueOf(int value) {
for (VideoCommand command : values()) {
if (command.value == value) {
return command;
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy