You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we recently updated to new version, and that broke audio in our application. After excesive testing I manage to find out, that if I add source directly to output audio works. If I add source to scene as sceneItem, and then I add scene to output, audio is not working.
To simulate issue I have run Start advanced recording - Custom encoders in test_osn_advanced_recording.ts with following sources:
`
let ffmpegSource = osn.InputFactory.create('ffmpeg_source', 'input02', { device_id: "ffmpeg01" });
ffmpegSource.monitoringType = 0;
ffmpegSource.muted = false;
ffmpegSource.audioMixers = 1 | (1 << 2-1);
ffmpegSource.update( Object.assign(ffmpegSource.settings, {
local_file: "C:/reactoo/media/ForBiggerFun.mp4",
looping: true,
volume: 100
}) );
ffmpegSource.save();
const scene = osn.SceneFactory.create('testscene');
const sceneItem = scene.add(ffmpegSource);
sceneItem.selected = true;
osn.Global.setOutputSource(1, scene); // audio does not work, mp4 is silent
// osn.Global.setOutputSource(1, ffmpegSource); // if i comment scene and uncomment this, audio is present in mp4
`
Best Regards
Lukas Zemcak
The text was updated successfully, but these errors were encountered:
Hello,
we recently updated to new version, and that broke audio in our application. After excesive testing I manage to find out, that if I add source directly to output audio works. If I add source to scene as sceneItem, and then I add scene to output, audio is not working.
To simulate issue I have run Start advanced recording - Custom encoders in test_osn_advanced_recording.ts with following sources:
`
let ffmpegSource = osn.InputFactory.create('ffmpeg_source', 'input02', { device_id: "ffmpeg01" });
ffmpegSource.monitoringType = 0;
ffmpegSource.muted = false;
ffmpegSource.audioMixers = 1 | (1 << 2-1);
`
Best Regards
Lukas Zemcak
The text was updated successfully, but these errors were encountered: