Giter Club home page Giter Club logo

Comments (4)

shivanshtalwar0 avatar shivanshtalwar0 commented on July 28, 2024

So as far as i understand from your comment you are trying to setup live streaming using video room this is definitely possible but for this to work you need to rtp forward your publisher's video stream to a pre created streaming endpoint on specific open port and then on recieving end you need to attach streaming plugin list down stream and start viewing stream, this approach is highly scalable but requires some effort from your side on application itself

Other way of doing the same thing (not scalable) , can be using video room alone instead of attaching viewing end with publisher role you only need to attach user with subscriber role with some random username from your side and when all webrtc related stuff is complete you will start receiving video
But know this i haven't tested either of those functionality with janus client yet and i am planning full streaming support in next release until then i encourage you to play with as you see fit

from flutter_janus_client.

shivanshtalwar0 avatar shivanshtalwar0 commented on July 28, 2024

You should consider reading streaming documentation in full https://janus.conf.meetecho.com/docs/streaming.html

from flutter_janus_client.

alsiPanda avatar alsiPanda commented on July 28, 2024

@shivanshtalwar0 by using video room, I meant the example code in your repository. I have switched out the videoroom plugin for streaming plugin. And the various messages being sent via plugin have been changed to the streaming related messages. I have made two copies of the videoroom.dart file. One for broadcasting and other for viewing the stream. Is such an approach viable ?

from flutter_janus_client.

shivanshtalwar0 avatar shivanshtalwar0 commented on July 28, 2024

Unfortunately janus streaming plugin in itself cannot stream video without supplying streaming source like ondemand,live (video file stream sent to streaming plugin using gstreamer or ffmpeg)
In your case you need to attach video room plugin then join as publisher then using video room rtp forward feature forward your stream to pre created streaming mountpoint set up to accept rtp stream at pre configured port for both video and audio then on recieving end you need to attach streaming plugin list down streams send watch request along with jsep answer negotiated by jsep offer sent by janus server when you first sent watch request only then video published on video room will be visible to streaming plugin viewer and as of now that's the only way to achieve what you are trying

from flutter_janus_client.

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.