Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Twitch like broadcasting

Discussion in 'Scripting' started by Patpat08, Oct 14, 2015.

  1. Patpat08

    Patpat08

    Joined:
    Apr 20, 2015
    Posts:
    2
    I need some help using Unity. Is there any way to get a video live from twitch and bring it onto the unity3d ingame screen? also the chat!

    Please respon asap!!
    -Thx
     
  2. GoofBall101

    GoofBall101

    Joined:
    Jul 25, 2015
    Posts:
    57
    Their probably is but why do you need Twitch broadcasting if I may ask?
     
  3. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,513
    You'd need to pull the stream, and render it to a texture in game and display that somewhere.

    Similar to how you would with Youtube, but instead of accessing the Youtube webapi, you'd access the twitch webapi.

    Of course, this means you'd have to know your way around the webapi, and any authentication that may be required, and of course meet and of the user agreements that twitch may have on accessing said webapi.

    Of course this same api would probably have the chat stuff to.

    And non of this is trivial, unless someone has written a library to do it, and I highly doubt that.
     
    GoofBall101 likes this.