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!