burakk
burakk

Reputation: 1291

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...

Upvotes: 6

Views: 1842

Answers (3)

pius lee
pius lee

Reputation: 1174

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.

Upvotes: 1

Md. Armaan-Ul-Islam
Md. Armaan-Ul-Islam

Reputation: 2184

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.

Upvotes: 1

Md. Armaan-Ul-Islam
Md. Armaan-Ul-Islam

Reputation: 2184

Privilege could be issue here. Please add these privileges required to play audio and respond to remote controller keys.

<tizen:privilege name="http://tizen.org/privilege/tv.audio"/>
<tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/>

Upvotes: 2

Related Questions