Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Working As Expected in the Tizen TV Simulator, but not in the Emulator

I am developing an application for Samsung Tizen Smart TV's. I have a strange problem. The app plays sound and responds to remote controller keys in the simulator, but the sound is not playing and the keys are not working in the emulator.

I am using HTML5 Audio tags.

What could be the reason? Thanks in advance.

Edit:

A very basic web page as follows:

<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
   <audio id="audioMain" src="http://streams.myabcradio.com/api/914/320/stream?user=justanuser&pass=justapassword" autoplay="autplay" preload="none"></audio>
</body> 
</html>

plays sound in the simulator, but not in the emulator. I tried adding

but still no sound...

like image 758
burakk Avatar asked Sep 03 '16 19:09

burakk


2 Answers

Launch the 'Update Manager'->

Go to 'Installed Packages' tab ->

Extras ->

Samsung TV extensions (public)->

Remove

Then Install the Samsung TV Extension again and Create new emulator. There is a good possibility that your current installation is having issues.

like image 151
Md. Armaan-Ul-Islam Avatar answered Nov 10 '22 22:11

Md. Armaan-Ul-Islam


Checklist.

  1. Internet Privilege
    <tizen:privilege name="http://tizen.org/privilege/internet"/>

  2. Access Control
    <access origin="*" subdomains="true"/>

  3. Check your Emulator's Network. is it really connected to internet?

  4. Test local media file (packaged in app) with audio tag. latest tv emulator webkit version is 538.1 Check is it really support to play that media file/stream.

like image 1
pius lee Avatar answered Nov 11 '22 00:11

pius lee