Git Product home page Git Product logo

Comments (9)

iSchluff avatar iSchluff commented on August 19, 2024 1

yes thats right

from srtrelay.

iSchluff avatar iSchluff commented on August 19, 2024

Hi, can you please share your compose file?

from srtrelay.

quantum909 avatar quantum909 commented on August 19, 2024

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.

iSchluff avatar iSchluff commented on August 19, 2024

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.

quantum909 avatar quantum909 commented on August 19, 2024

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.

iSchluff avatar iSchluff commented on August 19, 2024

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.

quantum909 avatar quantum909 commented on August 19, 2024

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.

iSchluff avatar iSchluff commented on August 19, 2024

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.

quantum909 avatar quantum909 commented on August 19, 2024

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)

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.