Not able to fetch output device list in firefox and safari

Need help.
I am trying to fetch the list of output device via jitsi api.its working on chrome but not in Firefox and safari. :neutral_face: