Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start stream with external host #7

Closed
EwanRoycroft opened this issue Feb 14, 2020 · 3 comments
Closed

Cannot start stream with external host #7

EwanRoycroft opened this issue Feb 14, 2020 · 3 comments

Comments

@EwanRoycroft
Copy link

@EwanRoycroft EwanRoycroft commented Feb 14, 2020

I am having trouble connecting connecting nodeshout to external Icecast servers. When connecting to localhost, it works perfectly; but if I put in the hostname for an Icecast server on another computer, the stream fails to start.

The program stops when shout.open() invokes ffi_call() in the FFI proxy function. There is no console output, it just hangs.

Here's my stack trace:

Trace
    at eval (eval at proxy (./node_modules/ffi/lib/_foreign_function.js:59:5), <anonymous>:1:9)
    at Object.proxy [as shout_open] (./node_modules/ffi/lib/_foreign_function.js:59:5)
    at shoutT.open (./node_modules/nodeshout/src/shoutT.js:185:21)
    at Object.<anonymous> (./index.js:76:7)
    at Module._compile (internal/modules/cjs/loader.js:686:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
@TriPSs

This comment has been minimized.

Copy link

@TriPSs TriPSs commented Feb 17, 2020

Could you give an example of the hostname that does not work and how you set it?

@EwanRoycroft

This comment has been minimized.

Copy link
Author

@EwanRoycroft EwanRoycroft commented Feb 17, 2020

Tried it on a third network now an it's working fine. I assume this must be a proxy/firewall issue.

@dgurkaynak

This comment has been minimized.

Copy link
Owner

@dgurkaynak dgurkaynak commented Feb 18, 2020

I've just tried with a remote icecast server in my local network (192.168.x.x), and I can confirm it's working 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.