• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Johnfred_Fredjohns · Mar 26, 2018 at 05:05 AM · videostreamingintegrationrobotlive

How to display a live streaming video in Unity?

I would like to pull a live streaming video feed from a server. Specifically, in fact, I am trying to pull a compressed video feed into Unity which is coming from ROS web_video_server.

Here check it out: http://wiki.ros.org/web_video_server

So far the solutions I have found only seem to work for pulling down videos that are already fully uploaded. I really need a streaming solution. I've tried doing a looping (iterative) image pull, and this works, but the problem is that these images can't be compressed. Hence I'm back in the position of needing to grab compressed video, either in mjpeg or vp8 format.

Can some enlightened soul out there point me in the right direction?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hacky97 · Mar 25, 2020 at 01:51 PM 0
Share

Not a single answer to this question in 2 years? I am looking for the same thing and have not found a solution yet.

To elaborate: Your iterative image pull could be followed by a jpeg decode. It is not as good as strea$$anonymous$$g video formats because it does not take frame difference into account with the compression, but it can save you at least 90% of your datarate.

avatar image JasonsFreeTime · Mar 25, 2020 at 02:08 PM 0
Share

Was also interested in this question but different in that I want to pull live stream from an IP network camera. I posted a question related to that recently: Would it be possible to write an ONVIF Profile S plugin - Give Unity app ability to control IP network PTZ cameras? (just using this as a selfish bump to get that question perhaps more exposure.. sorry :P )

avatar image hacky97 · Mar 25, 2020 at 03:02 PM 0
Share

Np Jason. A live strea$$anonymous$$g video from a webserver is the same thing as a webcam video from an ip. (The webcam hosts a little webserver itself)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

79 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Play RTMP Livestream inside Unity 0 Answers

I am using Ricoh Theta 360 camera with Unity. I want to build an Android app where I can live stream a video from the camera. 0 Answers

Can Unity play live streamed video and audio sources continuously? 1 Answer

Is it possible to display inside your game a mirror of the desktop behind the game you are running? 1 Answer

Has anyone done ROS (Robot OS) integration with Unity? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges