@yume-chan/scrcpy
Version:
TypeScript implementation of Scrcpy client.
20 lines • 821 B
JavaScript
export class ScrcpyAudioCodec {
static Opus = /* #__PURE__ */ new ScrcpyAudioCodec("opus", 0x6f_70_75_73, "audio/opus", "opus");
static Aac = /* #__PURE__ */ new ScrcpyAudioCodec("aac", 0x00_61_61_63, "audio/aac", "mp4a.66");
static Flac = /* #__PURE__ */ new ScrcpyAudioCodec("flac", 0x66_6c_61_63, "audio/flac", "flac");
static Raw = /* #__PURE__ */ new ScrcpyAudioCodec("raw", 0x00_72_61_77, "audio/raw", "");
optionValue;
metadataValue;
mimeType;
webCodecId;
constructor(optionValue, metadataValue, mimeType, webCodecId) {
this.optionValue = optionValue;
this.metadataValue = metadataValue;
this.mimeType = mimeType;
this.webCodecId = webCodecId;
}
toOptionValue() {
return this.optionValue;
}
}
//# sourceMappingURL=audio.js.map