GithubHelp home page GithubHelp logo

Comments (5)

alm4096 avatar alm4096 commented on September 27, 2024

I think you may be confusing multiple RTSP streams within the same instance of Live555 with separate Live555 instances with one stream each.

Live555 lies within a class meaning that even static variables are "local" to that class. If you create another instance of the class it will create another static variable within the class.

I will look into it eventually. If you have any Live555 specific questions you should ask the Live555 guys (http://www.live555.com/), this project simply uses their examples.

from ffmpeg-live555-h264-h265-streamer.

alm4096 avatar alm4096 commented on September 27, 2024

I have looked at the code and you were correct, there is indeed issues with variables being static outside of the classes which is stopping multiple instances of Live555 working.

"AnalyserSource::eventTriggerId" is just one of many issues. It is going to take some time to fix unfortunately. The "AnalyserSource::eventTriggerId" issue is not too bad to fix but the others are much harder to fix and it may take some time to get something stable working.

from ffmpeg-live555-h264-h265-streamer.

ahmadi219 avatar ahmadi219 commented on September 27, 2024

Hi thanks for your answers
which of these approaches is true ?
multiple RTSP streams within the same instance of Live555
or
separate Live555 instances with one stream each ?

Is it possible to use one rtsp server in this project but create multiple ffmpeg class for each input device ? so I create multiple ffmpeg instance and then create a rtsp server that communicate weach of them ?
Could you help me for a simple solution for this purpose ?
Thanks for your attention

from ffmpeg-live555-h264-h265-streamer.

alm4096 avatar alm4096 commented on September 27, 2024

In our case, the code is orientated in the direction of "separate Live555 instances with one stream each"

Yes it is possible to use one RTSP server but I feel the code would need a fair bit of rework to make it easy to use. A singleton may be the best course of action for the Live555 class.

At the moment I don't have much to spend on development of this project so progress will be a little slow.

I do plan on making the class capable of streaming multiple streams in the future.

from ffmpeg-live555-h264-h265-streamer.

magic428 avatar magic428 commented on September 27, 2024

Hi thanks for your answers
which of these approaches is true ?
multiple RTSP streams within the same instance of Live555
or
separate Live555 instances with one stream each ?

Is it possible to use one rtsp server in this project but create multiple ffmpeg class for each input device ? so I create multiple ffmpeg instance and then create a rtsp server that communicate weach of them ?
Could you help me for a simple solution for this purpose ?
Thanks for your attention

Hi ahmadi219,

Have you get a solution to create several streams communicate with a RTSP server? I also run into the issue now.

I changed the eventTriggerId to an non-satic variable, and make the *rtspSever and *env to static variable. but it didn't works.

Thanks for your attention.

from ffmpeg-live555-h264-h265-streamer.

Related Issues (10)

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.