`PLAYREADY` -> `CENC`

This commit is contained in:
nilaoda 2022-11-29 10:46:01 +08:00
parent f96d76d62f
commit c83cf3f4f4
3 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,6 @@ namespace N_m3u8DL_RE.Common.Enum
SAMPLE_AES_CTR, SAMPLE_AES_CTR,
CENC, CENC,
CHACHA20, CHACHA20,
PLAYREADY,
UNKNOWN UNKNOWN
} }
} }

View File

@ -288,9 +288,9 @@ namespace N_m3u8DL_RE.Common.Resource
), ),
["cmd_customHLSMethod"] = new TextContainer ["cmd_customHLSMethod"] = new TextContainer
( (
zhCN: "指定HLS加密方式 (AES_128|AES_128_ECB|CENC|PLAYREADY|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN)", zhCN: "指定HLS加密方式 (AES_128|AES_128_ECB|CENC|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN)",
zhTW: "指定HLS加密方式 (AES_128|AES_128_ECB|CENC|PLAYREADY|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN)", zhTW: "指定HLS加密方式 (AES_128|AES_128_ECB|CENC|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN)",
enUS: "Set HLS encryption method (AES_128|AES_128_ECB|CENC|PLAYREADY|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN)" enUS: "Set HLS encryption method (AES_128|AES_128_ECB|CENC|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN)"
), ),
["cmd_customHLSKey"] = new TextContainer ["cmd_customHLSKey"] = new TextContainer
( (

View File

@ -28,7 +28,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
//////////////////////////////////////// ////////////////////////////////////////
private static EncryptMethod DEFAULT_METHOD = EncryptMethod.PLAYREADY; private static EncryptMethod DEFAULT_METHOD = EncryptMethod.CENC;
public ExtractorType ExtractorType => ExtractorType.MSS; public ExtractorType ExtractorType => ExtractorType.MSS;