Git Product home page Git Product logo

Comments (8)

AlexxIT avatar AlexxIT commented on June 18, 2024

I don't understand the question

from go2rtc.

roycw avatar roycw commented on June 18, 2024

HI Alexx, im running an ONVIF discovery to discover any RTSP feeds on my local LAN then i want to automatically add those feed to any configuration so i can consume them can i add them dynamically via API or any other way, the only way i saw on the docs is exlicitly add my feed to the yaml.

on a dfferebnt note: i ran docker run -i -t alexxit/go2rtc just to get the docker running but visting localhost:1984 doesnt resolve.... am i doing anything wrong ?

from go2rtc.

roycw avatar roycw commented on June 18, 2024

This is closed. need to forward the port 7000:1984 did the trick

from go2rtc.

travisghansen avatar travisghansen commented on June 18, 2024

I have a similar need, I want to be able to setup new cameras on the fly like mediamtx where I can just set a new stream key and the device 'just works' as a new stream. Is it possible to allow rtmp clients to stream with arbitrary stream keys and automatically join the config?

from go2rtc.

AlexxIT avatar AlexxIT commented on June 18, 2024

New unknown streams are not difficult to add. But I'm not sure if this is good application design

from go2rtc.

travisghansen avatar travisghansen commented on June 18, 2024

Fair enough. I can explain my use-case a little and you can guide me. I am building an IOT-like device that should 'just work' for users who know pretty much nothing about video. They will be running events like sports events etc and on the fly will be adding new cameras in the venues to either help the operations teams have eyes in different remote areas or to eventually take the stream and broadcast to spectators.

I prefer to be able to tell them to install something like streamlabs on a phone and just put whatever they want as the stream key (ie: dynamic streams) and that using a given url structure that matches the stream key they can just pull up that feed in a browser. mediamtx fulfills this perfectly, but I have other requirements (such as pulling in a stream from a local v4l2 2 device, and possible integration with frigate) that go2rtc seems to better fit. If I can consolidate that would be ideal but if not possible then it's not possible.

from go2rtc.

AlexxIT avatar AlexxIT commented on June 18, 2024

Now you can just add 10 or 20 or more empty streams to the config. And use them.
You can also add streams and change the config via the API.
I'll think about adding unknown streams. Maybe it will appear in the future.
Now it is more important to add the permissions logic.

from go2rtc.

travisghansen avatar travisghansen commented on June 18, 2024

I considered the adding a bunch of streams route, that may be easy enough. I also considered using the api, glad to hear it's an option. Hypothetically I could put a reconcile loop somewhere which queries mediamtx and then updates the go2rtc config via api (should I even need mediamtx in the scenario).

Thanks for the response and consideration! I will play around with a few things and see how it goes.

from go2rtc.

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.