MCPcopy
hub / github.com/CapSoftware/Cap / needsAudioTranscode

Function needsAudioTranscode

apps/media-server/src/lib/media-video.ts:1095–1097  ·  view source on GitHub ↗
(metadata: VideoMetadata)

Source from the content-addressed store, hash-verified

1093}
1094
1095function needsAudioTranscode(metadata: VideoMetadata): boolean {
1096 return Boolean(metadata.audioCodec && metadata.audioCodec !== "aac");
1097}
1098
1099function getProcessTimeoutMs(
1100 durationSeconds: number,

Callers 1

processVideoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected