언어 설정

Menu
Sites
Language
[TV] WebRTC problem when running app in remote device

WebRTC problem when running app in remote device (Samsung TV M5500 with Firmware 1447)

I'm trying to test WebRTC basic Github project (https:// webrtc.github.io/samples/src/content/datachannel/datatransfer/)
and it is not working properly when I run it on my Samsung TV.
However, it works perfect in the emulator (Tizen TV Web Simulator version 3.1.8@60a7512).

Browser info (navigator.userAgent):
TV: Mozilla/5.0 (SMART-TV; LINUX; Tizen 3.0) AppleWebKit/538.1 (KHTML, like Gecko) Version/3.0 TV Safari/538.1    (Seems to be Safari)
Emulator: Mozilla/5.0 (SMART-TV; Linux; Tizen) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36 Tizen  (Chrome)

Differences between them:

Offer info (displayed in developer console)
In emulator a:BUNDLE:group
In TV no a tag with Bundle.


When I click on "Generate and send data" I receive the following errors on the developers console:

Uncaught (in promise) Failed to set local offer sdp: Failed to create channels.
Uncaught (in promise) Failed to set remote offer sdp: Failed to create channels.

Failed to create session description: CreateAnswer can't be called before SetRemoteDescription.

 

Any suggestion?

If someone wants to try a quick test and check if it works in another TV model I would be grateful.
Steps to reproduce: open default browser on TV and navigate to https:// webrtc.github.io/samples/src/content/datachannel/datatransfer/
Click on "Generate and send data": Send progress and Receive progress bars should be filled in blue if everything is ok and stay empty if something goes wrong.

Thank you in advance!

Edited by: John Ixion on 08 11월, 2017

Responses

2 댓글
John Ixion

hello,

are you sure the webRTC data channel is supported on TV ?

John Ixion

this webRTC app should work on TV: https://github.com/vector-im/riot-web

if you need help, the core devs are available here: https://riot.im/app/#/room/#matrix-dev:matrix.org