mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 10:55:27 +00:00
fix(upload): correct .wma MIME type to audio prefix on upload and add tests
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user