Streaming video from Camera to Samsung Smart TV

24,844

Apparently the answer is the old "if it works on emulator it doesn't really mean it'll work on the actual device" :(

This is quoted from many discussions on the Samsung Smart TV forum --

Smart TV does not support iFrames completely .You'll not be able to use some of the functionalities (e.g navigation).

There is also certain discrepancy on the (complete) support of iframes on Samsung Smart TV 2012 and the 2013 models. So i'd suggest not to use iframes AT ALL.

Regarding the video streaming --

I'm streaming the video using RTSP which is supported by the plugin player provided in the samsmung smart tv. Reference links --

  1. Samsung Smart TV - Device API - "Player"
  2. Supported RTSP methods
  3. Player Specification
  4. Tutorial for video application
Share:
24,844
Tushar Koul
Author by

Tushar Koul

.

Updated on July 09, 2022

Comments

  • Tushar Koul
    Tushar Koul almost 2 years

    I'm trying to stream video from a camera. The camera's web page streaming link is -

    'http://192.168.blah.blah/img/mjpeg.cgi'
    

    I made a sample SmartTv Basic App, and added a scene. In the scene's HTML I added this

    <iframe src ='http://192.168.blah.blah/img/mjpeg.cgi' id='player' ></iframe>
    

    And in the css -

    #player
    {
        position: absolute;
        top : 36px;
        left : 0px;
        height : 400px;
        width : 900px;
        padding: 30px 30px 30px 30px;
        background-color: black;
    }
    

    The video is streaming fine when I run it from the simulator. But it's failing when i deployed the app on actual TV. I have the 2013 Smart Tv model. And I ran on 2012 simulator (since the 2013 simulator crashes everytime).

    Pls help!!!

  • Tushar Koul
    Tushar Koul over 9 years
    this would not play RTSP stream from a camera though