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

Timeout error when using node-media-server with bun #16217

Open
k3341095 opened this issue Jan 7, 2025 · 0 comments
Open

Timeout error when using node-media-server with bun #16217

k3341095 opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working needs investigate Needs to be investigated to find the root cause

Comments

@k3341095
Copy link

k3341095 commented Jan 7, 2025

What version of Bun is running?

1.1.42+50eec0025

What platform is your computer?

windows 11 x64

What steps can reproduce the bug?

bun install node-media-server@2.7.4
bun app.js

app.js

const NodeMediaServer = require('node-media-server');

const config = {
    rtmp: {
        port: 1935,
        chunk_size: 60000,
        gop_cache: true,
        ping: 30,
        ping_timeout: 0
    },
    http: {
        port: 8000,
        allow_origin: '*'
    }
};

Start streaming with OBS

"There are no issues when running with node app.js, but when running with bun app.js, the connection drops every minute."

What is the expected behavior?

It should stream without disconnecting

What do you see instead?

connection drops every minute

Additional information

No response

@k3341095 k3341095 added bug Something isn't working needs triage labels Jan 7, 2025
@RiskyMH RiskyMH added needs investigate Needs to be investigated to find the root cause and removed needs triage labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigate Needs to be investigated to find the root cause
Projects
None yet
Development

No branches or pull requests

2 participants