언어 설정

Menu
Sites
Language
Record Audio From Microphone

Is there any way to record audio from the microphone of the Tizen device ? I am talking about web application.

Depending on the next link it is possible to record audio with  navigator.webkitGetUserMedia(),

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2Fhtml%2Fguide%2Fw3c_guide%2Fmedia_guide%2Fgetusermedia.htm

but i have not achieved to make it work.

 

Byron

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 댓글
Raghavendra Reddy Shiva
Have quickly tested the below code on Simulator and the Device. The code works fine on simulator but doesn't work on device. Looks like the device microphone isn't accessible. Will log a JIRA for this issue. For now you might need to test your apps using the Simulator or Emulator using the host machine's microphone (for audio) or webcam(for video). HTML code: <audio id="audioPlay" src="" autoplay controls></audio> <input type="button" value="START" onclick="getAudioStream();" id="BtnStart"> JavaScript Code: function successCallBack(stream) { var URL = window.webkitURL; console.log("getAudioStream SuccessCallback called"); document.getElementById("audioPlay").src = URL.createObjectURL(stream); } function getAudioStream() { console.log("getAudioStream called"); navigator.webkitGetUserMedia({audio : true}, successCallBack); }
Byron Gavras
Thank you for your reply. I thought that it could be a permission issue but finally this is not the problem. It seems like they have not enabled the microphone for such operations.
Raghavendra Reddy Shiva
Have filed a bug for the issue. Please follow the below JIRA for more updates. https://bugs.tizen.org/jira/browse/TDIST-255
Jeric Santiago

Do you have any updates on this? I'm having the same error.