Stream audio from file using libmediasoupclient


I would like to know if it is currently possible to replace the track of a producer with a audio stream from a local file using libmediasoupclient (not through the browser).

A research on this led me the believe I would need a custom audio device module for this (currently the default adm is used). Am I in the right direction or am I missing something obvious?

Thank you

That’s something you have to figure out using the libwebrtc exposed API. Libmediasoupclient lets you integrate it.