Comments (4)
I don't know why but I've tried this and some other rtsp servers with docker containers and none of them worked really... My host system is Windows so I tried WSL2 docker and docker on ubuntu server and none of them worked well (they do connect but stream fails before first frame seen). The same time all of them hosted without docker works just fine (even on WSL). I also tried --network=host with no luck.
Am I the only one who got this kind of problem?
from mediamtx.
Hello, hosting a RTSP server inside a Docker container is problematic since Docker can, in certain situations, change the source port of UDP packets, making RTSP-via-UDP unreliable, since UDP packets are identified and routed by a RTSP server by looking at their source IP and port.
There are two ways to solve the problem:
- create the container with --network=host
- expose the TCP port (-p 8554), and disable the UDP protocol (in rtsp-simple-server, this is done with --protocols=tcp)
Anyway, a docker image for rtsp-simple-server is on its way.
from mediamtx.
Docker images are ready and available at
https://hub.docker.com/r/aler9/rtsp-simple-server
from mediamtx.
This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.
from mediamtx.
Related Issues (20)
- Add GET/POST/DELETE Record on demand API HOT 3
- RTSP/1.0 400 Bad Request when query parameters are supplied in RTSP URL HOT 1
- RTSP/1.0 400 Bad Request when query parameters are supplied in RTSP URL
- "closed: metadata doesn't contain any track" (DJI FlightHub Sync - Stream Forwarding) HOT 2
- Extend webrtc_session Prometheus metrics (bitrate, jitter, packageloss)
- Changes in Control API don't save into mediamtx.yml HOT 1
- RTP Packet Lost when video proxy HOT 3
- Extract RTCP/metrics from RTSP-streams to Prometheus
- fmp4 recordings don't play in Safari HOT 5
- ERR [record] too many reordered frames (11)
- Set DSCP in the IP layer of outgoing packets
- Replacing the pages served by the WebRTC server without recompiling HOT 1
- Change served WebRTC files without recompiling HOT 1
- JWT authentication does not work with auth0 provider
- Play other path if stream not ready or publisher dissconnected HOT 3
- Error: A network error (status 500) occurred while loading manifest, retrying in some seconds HOT 1
- List available streams on local port(eg. 8888), rather than giving a 404. HOT 3
- Add h.265 to WebRTC HOT 1
- AV1 over rtsp gives a 400 HOT 1
- AV1 over rtsp gives a 400 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 mediamtx.