[ Tizen 7] WebRTC getUserMedia “Could not start audio source”

[ Tizen 7] WebRTC getUserMedia “Could not start audio source”

BY 05 Aug 2025 Web Application Development

Hello,

I am developing a Tizen HTML5 application on a Tizen 7 device and am encountering an issue with the WebRTC getUserMedia() API for audio.

I am using a standard WebRTC sample gUM audio that works perfectly in a TV browser. However, when deployed as a Tizen HTML5 application, the getUserMedia() call fails with the following error:

"getUserMedia error:", "Could not start audio source"

I have already taken the following steps to troubleshoot:

  • Permissions: I have added the required mediacapture privilege to my config.xml file. I have also tried adding audiorecorder, but neither resolved the issue.

     
    <tizen:privilege name="http://tizen.org/privilege/mediacapture"/>
    <tizen:privilege name="http://tizen.org/privilege/audiorecorder"/>
    
  • Code: The application’s getUserMedia() call is a very basic request for audio.

     
    navigator.mediaDevices.getUserMedia({ audio: true, video: false })
      .then(function(stream) {
        console.log('Successfully got audio stream!');
      })
      .catch(function(error) {
        console.error('navigator.mediaDevices.getUserMedia error: ', error.message, error.name);
      });
    

Any insights or assistance would be greatly appreciated.

Written by