All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.red5.codec.VideoCommand Maven / Gradle / Ivy

There is a newer version: 2.0.17
Show newest version
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