export var InfoCode;
(function (e24) {
    e24[e24["Unknown"] = -1] = "Unknown";
    e24[e24["LoopingStart"] = 0] = "LoopingStart";
    e24[e24["BufferedPosition"] = 1] = "BufferedPosition";
    e24[e24["CurrentPosition"] = 2] = "CurrentPosition";
    e24[e24["AutoPlayStart"] = 3] = "AutoPlayStart";
    e24[e24["CurrentDownloadSpeed"] = 4] = "CurrentDownloadSpeed";
    e24[e24["UtcTime"] = 5] = "UtcTime";
    e24[e24["LocalCacheLoaded"] = 6] = "LocalCacheLoaded";
    e24[e24["SwitchToSoftwareVideoDecoder"] = 100] = "SwitchToSoftwareVideoDecoder";
    e24[e24["AudioCodecNotSupport"] = 101] = "AudioCodecNotSupport";
    e24[e24["AudioDecoderDeviceError"] = 102] = "AudioDecoderDeviceError";
    e24[e24["VideoCodecNotSupport"] = 103] = "VideoCodecNotSupport";
    e24[e24["VideoDecoderDeviceError"] = 104] = "VideoDecoderDeviceError";
    e24[e24["VideoRenderInitError"] = 105] = "VideoRenderInitError";
    e24[e24["DemuxerTraceID"] = 106] = "DemuxerTraceID";
    e24[e24["NetworkRetry"] = 108] = "NetworkRetry";
    e24[e24["CacheSuccess"] = 109] = "CacheSuccess";
    e24[e24["CacheError"] = 110] = "CacheError";
    e24[e24["LowMemory"] = 111] = "LowMemory";
    e24[e24["NetworkRetrySuccess"] = 113] = "NetworkRetrySuccess";
    e24[e24["SubtitleSelectError"] = 114] = "SubtitleSelectError";
    e24[e24["DirectComponentMSG"] = 116] = "DirectComponentMSG";
    e24[e24["DemuxerSegmentOpenFailed"] = 119] = "DemuxerSegmentOpenFailed";
    e24[e24["LongLoadingStopMsg"] = 120] = "LongLoadingStopMsg";
    e24[e24["DegradeAsH265Adaptive"] = 121] = "DegradeAsH265Adaptive";
    e24[e24["VideoPlayerSessionId"] = 122] = "VideoPlayerSessionId";
    e24[e24["RTSServerMaybeDisconnect"] = 805371905] = "RTSServerMaybeDisconnect";
    e24[e24["RTSServerRecover"] = 805371906] = "RTSServerRecover";
})(InfoCode || (InfoCode = {}));
export function getEnumValues(z23) {
    return Object.keys(z23)
        .filter(d24 => !isNaN(Number(z23[d24])))
        .map(c24 => z23[c24]);
}
export function findInfoCodeByValue(w23) {
    const x23 = getEnumValues(InfoCode);
    for (const y23 of x23) {
        if (y23 === w23) {
            return y23;
        }
    }
    return InfoCode.Unknown;
}
