Comments (7)
Currently the main page uses <iframe>
to display the video stream. @YarynaD, is it OK to update this tag to <video>
?
from leobot.
@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.
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.
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.
@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.
@SystemDiagnosticss, which branch could I use to configure the automatic assembly of NoSleepJS?
from leobot.
@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)
- Check spherical vision and VR in simulation HOT 6
- Motor Discussion HOT 40
- Saving intermediate URDF file when rendering XACRO in RViz using launch file HOT 1
- Create block diagram of robot's electronics HOT 6
- Need to update docker container HOT 2
- Change UART functions implementation to be able to work with interrupts
- Create electronic schematic for robot HOT 11
- Setup controllers for mecanum wheels
- RPM calculation from encoder value HOT 7
- Create rotational stereo camera URDF
- Motor driver discussion HOT 11
- Update Web UI for new URDF and controllers
- Clean up the XACRO files
- Change fisheye cameras back to normal HOT 1
- Add position controller for head link HOT 3
- Fix the XML structure in wheels.urdf.xacro
- Fix error message during simulation HOT 1
- Simulation fails in kinetic-devel HOT 3
- Install rosserial python to docker container HOT 1
- Fix direction rotation for mecanum wheels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leobot.