Comments (8)
I don't understand the question
from go2rtc.
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.
This is closed. need to forward the port 7000:1984 did the trick
from go2rtc.
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.
New unknown streams are not difficult to add. But I'm not sure if this is good application design
from go2rtc.
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.
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.
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)
- Timeouts in HA when using multiple transcoded streams HOT 3
- Tapo Camera Microphone Issue HOT 10
- Webrtc crackling sound on multiple camera brands HOT 20
- daemonization causes process to constantly restart with new pid HOT 4
- USB webcam gives "WRN [hls] can't get init id=XXXXXXX" with every start/refresh but still works HOT 13
- 12:47:39.089 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:75 > error="write tcp 192.168.1.120:1984->192.168.1.120:39460: write: broken pipe" HOT 1
- 2 way audio in mobile HOT 3
- Challenges using ffmpeg to copy & stream an HLS/fMP4 stream to RTP (but works with an HLS/TS stream) -- Octoprint/Obico questions HOT 7
- tls: handshake failure for kasa:// camera HOT 7
- RTSP streams exposed to HomeKit become unavailable in any version above 1.9.1 HOT 1
- Tapo Hub H200 with D230 Doorbell HOT 4
- Youtube Streaming issue HOT 8
- Logitech Circle View Doorbell Streaming Issues HOT 2
- strange error in log during night
- start from CONN state and i/o timeout HOT 3
- 1.9.3 broke HomeKit in HASS connecting to go2rtc HOT 7
- panic on close stream HOT 1
- Install 1.9.3 error in china HOT 3
- Stream timeout and playback issues with cv2 and go2rtc HOT 1
- problem with pipe exec stream on raspberry after upgrade to 1.9.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go2rtc.