Comments (9)
yes thats right
from srtrelay.
Hi, can you please share your compose file?
from srtrelay.
Hello,
Thank you. Yes, that's what she looks like at the moment.
version: '3'
services:
srtrelay:
image: ghcr.io/voc/srtrelay/srtrelay:latest
restart: always
container_name: srtrelay
volumes:
- /home/fab/srt/srtrelay-config.toml:/home/srtrelay/config.toml
ports:
- "44560:1337/udp"
from srtrelay.
Ah ok the failure is related to it trying to bind on an ipv6 address when the container doesn't have ipv6 available i think.
If you explicitely listen on ipv4 addresses in the config it should work. E.g.:
[app]
# Relay listen address
addresses = ["0.0.0.0:1337"]
from srtrelay.
Thanks, I had already tried that, but then I get the following error message.
2023/11/17 14:11:53 Read config from config.toml
2023/11/17 14:11:53 Note: assuming public address c864efeca9b7:1337
2023/11/17 14:11:53 SRT Listening on 0.0.0.0:1337
2023/11/17 14:11:53 API listening on :8080
2023/11/17 14:11:56 Invalid number of slashes, must be 1 or 2
14:11:56.017449/SRT:RcvQ:w1!W:SRT.cn: @705002645:newConnection: connection rejected due to: INTERNAL REJECTION - ERROR:UNKNOWN
14:11:56.017537/SRT:RcvQ:w1!W:SRT.cn: processConnectRequest: rsp(REJECT): 1000 - Unknown or erroneous
from srtrelay.
You have to set the streamid on your srt client, like mentioned in the readme. e.g.
# start publisher
ffmpeg -i test.mp4 -c copy -f mpegts srt://localhost:1337?streamid=publish/test
# start subscriber
ffplay -fflags nobuffer srt://localhost:1337?streamid=play/test
from srtrelay.
Great thanks. it works now. i still have two quick questions.
Is it possible to customize the streaming id and are there plans to create a version for arm64?
Thank you very much
from srtrelay.
you mean the format of the streamid? no that can't be customized. But you can name the stream how you want, and publish/play multiple different streams at the same time.
Currently there are no plans to publish an arm64 container as the container is just for trying the software out anyway.
If you have tested it and want to integrate it into a solution I recommend compiling the software yourself. This also gives you version stability, whereas the container might change.
from srtrelay.
All right, thanks.
If I understand it correctly I could start 2 streams with different ID's and transmit them via the same port?
?streamid=play/stream1
?streamid=play/stream2
from srtrelay.
Related Issues (20)
- add an on_publish_done directive HOT 2
- Error on running srtrelay HOT 3
- docker-proxy & IPv6: weird errors in the log
- small memory leak in registerForStats() HOT 1
- Abnormal program termination with lossy stream publisher HOT 2
- Bad stream quality with high RTT HOT 1
- http auth rejected HOT 2
- Relay Push mode HOT 6
- Production cameras that support SRT ? HOT 4
- Stream quality problems HOT 3
- Change 'publish' to 'publisher'?
- 'synchronize MPEG-TS clients to a GOP start' for h265? HOT 3
- Error in write HOT 1
- Sockets not always loaded HOT 4
- Listener's backlog exceeded error HOT 2
- http-auth x509: certificate signed by unknown authority HOT 1
- [ enhancement ] Supports SRT Access Control streamid with recomended format HOT 1
- Vmix Support HOT 1
- Is this project deprecated? HOT 1
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 srtrelay.