Giter Site home page Giter Site logo

Play a video from Youtube about ion HOT 4 CLOSED

ionorg avatar ionorg commented on May 2, 2024
Play a video from Youtube

from ion.

Comments (4)

cloudwebrtc avatar cloudwebrtc commented on May 2, 2024

I think we have to take a look first, how is the YouTube video stream transmitted outwards, RTMP or HLS or Dash? Then collected by an ion client, published to the ion channel.
@adwpc

from ion.

winwisely99 avatar winwisely99 commented on May 2, 2024

Proposal:

We transcode all videos beforehand on our servers. We would use a golang lib to do this.

https://github.com/rylio/ytdl

https://github.com/iawia002/annie

Then to convert it to a format that Webrtc accepts we would use the pion media libs.

For Desktop or Mobile we can do this in the Background Service that is written in golang.
For Web, the Server would do it.

from ion.

winwisely99 avatar winwisely99 commented on May 2, 2024

https://github.com/rylio/ytdl works great. i just tried it.

from ion.

winwisely99 avatar winwisely99 commented on May 2, 2024

This plays an MP4 ( like that is download above) in Webrtc
https://golangexample.com/watch-videos-with-friends-using-webrtc/

from ion.

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.