Git Product home page Git Product logo

Comments (6)

ravenium avatar ravenium commented on June 24, 2024

Hrm...the stream URL looks correct. I do know that VLC doesn't support streamid (yet) without a patch as this was relatively recent (~December of last year). As far as OBS, I do know I've had trouble with multi-receive at times - is it possive you're hooking the same stream twice? I'm sure that's supposed to eventually work (like RTMP) but I definitely ran into issues.

Also, run docker attached and check what the console output says. It'll be a lot of debug spaghetti but it should show when you try to connect and what the associated failures are. That way you can track down if it's a networking thing or an SRT thing.

from srt-live-server.

 avatar commented on June 24, 2024

I'm having the same issue, no idea why.

from srt-live-server.

 avatar commented on June 24, 2024

Nevermind, it seems to work fine now?... Was having the same issue and after restarting a couple times with no changes it worked with no issue

from srt-live-server.

ravenium avatar ravenium commented on June 24, 2024

Pushed a small update to make it work with docker-compose the other day - when in doubt, you can tweak your config and see how it looks. Closing this for now but definitely re-open if you spot anything (and c/p console logs if you can).

from srt-live-server.

gregfr avatar gregfr commented on June 24, 2024

I have the same problem: ingress looks fine:

2021-03-17 09:58:18:536 SLS INFO: [0x7f51e6b1ae88]CSLSMapData::add ok, key='input/live/yourstreamname'.
2021-03-17 09:58:18:536 SLS INFO: [0x559f4d0e7d48]CSLSMapPublisher::set_push_2_pushlisher, ok, publisher=0x559f4ec0c5c0, app_streamname=input/live/yourstreamname, m_map_push_2_pushlisher.size()=1.
2021-03-17 09:58:18:536 SLS INFO: [0x559f4ebc1520]CSLSListener::handler, new publisher[172.17.0.1:34719], key_stream_name=input/live/yourstreamname.
2021-03-17 09:58:18:536 SLS INFO: [0x559f4d0e7e48]CSLSMapRelay::add_relay_manager, no relay conf info, app_uplive=input/live, stream_name=yourstreamname.
2021-03-17 09:58:18:536 SLS INFO: [0x559f4ebc1520]CSLSListener::handler, m_map_pusher->add_relay_manager failed, new role[172.17.0.1:34719], key_stream_name=input/live/yourstreamname.

However I cannot play it. VLC and MPlayer give an error, as ffplay:

ffplay "srt://localhost:1935?streamid=ouput/live/yourstreamname"

[srt @ 0x7f8394001740] Connection was broken  
srt://localhost:1935?streamid=ouput/live/yourstreamname: Unknown error occurred

I will try to recompile a newest version of ffmpeg, the one I'm using is from July 2020.

from srt-live-server.

ravenium avatar ravenium commented on June 24, 2024

Just a heads up, I've sort of laid this to rest a bit as me debugging C++ is a terrible idea (ha) and It looks like the author of srt-live-server has gone a bit quiet as well. I can swear up and down the docker invocation should work, but that probably doesn't help you :)

If you've got the appetite for something that was written in the spirit of SLS and is being actively maintained (and in Go, which I understand a bit better, no less!) check out https://github.com/voc/srtrelay. I dockerized it a bit and added a cheesy frontend that restreams to HLS here: https://github.com/ravenium/fragconsole. Going forward, it's probably a better shot to be maintained.

from srt-live-server.

Related Issues (6)

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.