MCPcopy Index your code
hub / github.com/simstudioai/sim / mimeFromExt

Function mimeFromExt

apps/sim/lib/media/ffmpeg.ts:151–153  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

149}
150
151function mimeFromExt(ext: string): string {
152 return EXT_TO_MIME[ext] || 'application/octet-stream'
153}
154
155const ASPECT_TARGETS: Record<string, { w: number; h: number }> = {
156 '16:9': { w: 1920, h: 1080 },

Callers 1

readOutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected