Giter Club home page Giter Club logo

Comments (7)

MaxZhaloba avatar MaxZhaloba commented on July 19, 2024

Currently the main page uses <iframe> to display the video stream. @YarynaD, is it OK to update this tag to <video>?

from leobot.

YarynaD avatar YarynaD commented on July 19, 2024

@MaxZhaloba there's not much I know about video streaming. So, please correct me if I'm wrong. From documentation
http://wiki.ros.org/roslibjs/Tutorials/Publishing%20video%20and%20IMU%20data%20with%20roslibjs#CA-3fc6413f79f1645f69db70dc902a3a12ecc54f7c_155
it seems to me that video is streamed via "jpeg" files. In this case, <img> tag should be suitable.

from leobot.

MaxZhaloba avatar MaxZhaloba commented on July 19, 2024

Just to mention, the imge from virtual camera is transferred in MJPEG format. More info on this method.

I've tried to render it using the <img> tag and it works, but no luck with <video> so far.

from leobot.

MaxZhaloba avatar MaxZhaloba commented on July 19, 2024

I've found out that browser always treats the MJPEG stream as image. So we cannot render it as video in playing state. At the very most I was able to specify the MJPEG URL in placeholder attribute of <video> but in this case the screen was still locked in iOS Chrome.

@SystemDiagnosticss, I'm passing this task over to you. Feel free to proceed with the approach that uses a plugin for this purpose.

P.S. The method suggested in task #85 is another option to render an MJPEG stream.

from leobot.

SystemDiagnosticss avatar SystemDiagnosticss commented on July 19, 2024

@MaxZhaloba thanks. I tested NoSleepjs lib in my lockal branch. Its work fine. But now I add its directly in js folder without cmake. This lib need webpack build.

from leobot.

MaxZhaloba avatar MaxZhaloba commented on July 19, 2024

@SystemDiagnosticss, which branch could I use to configure the automatic assembly of NoSleepJS?

from leobot.

MaxZhaloba avatar MaxZhaloba commented on July 19, 2024

@SystemDiagnosticss, I'm thinking that most likely we won't need the NoSleep JS in next release since we'll probably be rendering a real video stream using <video> tag and VR API (task #104).

from leobot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.