Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Streaming video

Discussion in 'General Discussion' started by alexmusatkin, May 18, 2016.

  1. alexmusatkin

    alexmusatkin

    Joined:
    May 18, 2016
    Posts:
    3
    How to stream video from YouTube or remote camera to Unity-app?
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,026
    You're not actually allowed to stream video from YouTube to a custom application per their Terms of Service.
    https://www.youtube.com/static?gl=GB&template=terms
     
    computertech and theANMATOR2b like this.
  3. alexmusatkin

    alexmusatkin

    Joined:
    May 18, 2016
    Posts:
    3
    but what about MY chanell?

    And also remote camera? How to stream video from MY remote camera to my Unity-app?
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,026
    Their servers, their bandwidth. It costs them money to host and deliver content. If you must have video streaming into your application you'll have to find a service that will allow it or host the files yourself.

    Sorry, but I've never actually tried hooking up a camera.
     
  5. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
  6. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
    He asked about technicalities. Also don't know if you know, but Steam itself is doing that "not allowed" thing.
     
  7. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,706
    No it isn't. Steam embeds the videos in a webpage which is 100% allowed. Yes, even in the client this is how it works.
     
    Martin_H, Deon-Cadme and Kiwasi like this.
  8. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    This is allowed because YouTube keeps control of the space. They can still show ads, count stats against a particular user, link back to YouTube and show what to watch next videos. It's not uncommon to be dragged back to YouTube after seeing an embedded video.
     
  9. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
    Try opening store page of any given title in Steam client. You'll see Steam's custom player instead of YT one.

    Also when someone asks for TECHNICAL details of how to do something, maybe perhaps give them just that and let them handle law stuff if/when he/she gets in the trouble?
     
  10. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
  11. alexmusatkin

    alexmusatkin

    Joined:
    May 18, 2016
    Posts:
    3
  12. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,301
    Still not allowed without explicit permission from youtube.
     
    alexmusatkin likes this.
  13. computertech

    computertech

    Joined:
    Feb 17, 2015
    Posts:
    208
    You are allow to stream live with your game content inside twitch. But, you cannot not stream content in Youtube.
    https://www.twitch.tv
    https://www.twitch.tv/user/legal?page=terms_of_service
    The twitch 14. Rights of User Content quote is "If you submit or post User Content to the Twitch Service you grant Twitch a worldwide, nonexclusive, royalty-free, perpetual, irrevocable and fully sublicensable right to use, reproduce, modify, adapt, publish, translate, create derivative works from, distribute, perform and display such User Content in any form, format, media or media channels now known or hereafter developed or discovered. You grant Twitch and our sublicensees the right to use the name that you submit in connection with such content, if we or they choose."