Git Product home page Git Product logo

Comments (12)

PureTryOut avatar PureTryOut commented on August 20, 2024 1

Derp, yes that was it. A firewall after all... Ignore my silly problems 😒

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024 1

NymphCast Server: UDP 4004 (discovery), TCP 4004 (playback).

NymphCast Media Server: UDP 4005 (discovery), TCP 4005 (playback).

I'll add this to the documentation.

from nymphcast.

PureTryOut avatar PureTryOut commented on August 20, 2024 1

Ah so you install that on a separate machine with media files, e.g. a NAS, and then clients can instruct servers to play it? Interesting, will package it too, thanks!

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024 1

Yes, that's the general idea :)

I developed it for situations like e.g. having the client on one's phone whilst on the couch, and the media files being all on a desktop system/server/NAS on the network. Not having to copy movies etc. to one's phone every time (and using up battery...) seemed like a plus.

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024

Are both systems on the same subnet? NymphCast currently uses NyanSD for service discovery. This relies on UDP broadcast.

Is there anything in the logs on either side that might be relevant here?

from nymphcast.

PureTryOut avatar PureTryOut commented on August 20, 2024

Yup, same subnet. 192.168.1.x

The logs don't show anything relevant no. When I run both on the same machine I can see messages being broadcasted between the two, but this does not happen when I run the server on a different machine.

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024

Is there a firewall or similar on either system that might block (outgoing) UDP traffic? NymphCast uses UDP ports 4004 and 4005 for discovery.

The UDP broadcast packet is also sent on all network interfaces that exist on the local machine.

from nymphcast.

PureTryOut avatar PureTryOut commented on August 20, 2024

No there is not.

from nymphcast.

PureTryOut avatar PureTryOut commented on August 20, 2024

So interesting situation. I have 3 machines I can run Nymphcast on: a laptop, a desktop and a RockPro64 with Plasma Bigscreen on it installed. If I run the server on the RockPro64 and the client on my desktop, the client can't find the server. However I just tried the server on my laptop and the client still on my desktop and it could find it, and the same the other way around.

I haven't setup a firewall myself but maybe the postmarketOS configuration by default installs one nowadays, I'm not entirely sure but I recall such a change being done recently. I'll check

from nymphcast.

PureTryOut avatar PureTryOut commented on August 20, 2024

What ports are used for actually playing and sending commands? Enabling UDP 4004 in the firewall did make the machines find each other, but now the Player hangs when I actually try to play something.

from nymphcast.

PureTryOut avatar PureTryOut commented on August 20, 2024

Ah TCP, yup that does the trick, thanks! What exactly is that media server you mentioned though?

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024

https://github.com/MayaPosch/NymphCast-MediaServer

It's somewhat similar to a DLNA server, I guess. It makes a list of media files available to clients, and the client can initiate playback of this content which is then streamed from the media server to the server.

from nymphcast.

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.