Node-Media-Server icon indicating copy to clipboard operation
Node-Media-Server copied to clipboard

Use custom RTMP server?

Open DLLDev opened this issue 3 years ago • 2 comments

Is it possible to use a custom RTMP server instead of the build in?

DLLDev avatar May 11 '22 13:05 DLLDev

It looks like you can configure the RTMP server in the creation options. Isn't it what you are looking for?

ziiw avatar May 18 '22 08:05 ziiw

maybe, if i dont get something right.

you means the config?

like:

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

because that would just start the internal RTMP server. i want that NMS do not run its own RTMP server. I want that NMS consumes an external one instead.

DLLDev avatar May 18 '22 15:05 DLLDev