1.0.6 • Published 1 year ago

node-red-contrib-rtmp v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

node-red-contrib-rtmp

A Node-RED node to stream RTMP (Real-Time Messaging Protocol) using FFmpeg.

Overview

This Node-RED node allows you to stream video and audio to an RTMP server using FFmpeg. It supports a variety of input formats and provides a flexible way to integrate RTMP streaming into your Node-RED flows.

Prerequisites

Example Flow

Here’s an example of a basic Node-RED flow that uses the rtmp node to stream a video to an RTMP server:

[
    {
        "id": "ffmpeg-spawn",
        "type": "rtmp",
        "z": "flow_id",
        "name": "Stream to RTMP",
        "input": "/path/to/video.mp4",
        "rtmpUrl": "rtmp://your_rtmp_server/live/stream_key",
        "outputs": 1,
        "x": 400,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "inject-node",
        "type": "inject",
        "z": "flow_id",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 200,
        "y": 200,
        "wires": [
            ["ffmpeg-spawn"]
        ]
    }
]
1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago