Transcoding, Open Source, Open Source Cloud, JavaScript.
const encoreJobUrl = new URL('/encoreJobs', instance.url); const data = await createFetch(encoreJobUrl, { method: 'POST', body: JSON.stringify({ profile: 'program', outputFolder: `/usercontent/${jobId}`, baseName: jobId, inputs: [ { type: 'AudioVideo', uri: source.toString() } ] }), headers: {