fix(upload): correct .wma MIME type to audio prefix on upload and add tests

This commit is contained in:
yiling
2026-07-05 15:57:29 +08:00
parent 8d336836cc
commit ccfcdce23c
4 changed files with 51 additions and 4 deletions
+3 -1
View File
@@ -139,7 +139,9 @@ export const longAudioVideoAsset: AssetInfo = {
export const SAMPLE_AUDIO_URL = '/sample-audio.mp4'
export const SAMPLE_AUDIO_DURATION = 3.0
export const SAMPLE_AUDIO_COMPUTED_TOTAL_FRAMES = Math.round(SAMPLE_AUDIO_DURATION * SAMPLE_FRAME_RATE)
export const SAMPLE_AUDIO_COMPUTED_TOTAL_FRAMES = Math.round(
SAMPLE_AUDIO_DURATION * SAMPLE_FRAME_RATE,
)
export const sampleAudioAsset: AssetInfo = {
...sampleVideoAsset,