illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.96k stars 1.52k forks source link

Is it possible to include custom information in an RTMP packet header? #465

Closed stefanjaspers closed 3 years ago

stefanjaspers commented 3 years ago

I need to be able to send custom data along with an RTMP packet. I was wondering if the RTMP protocol supports a way to do this.

Maxine-van-der-Smissen commented 3 years ago

Yes it is

BartFijneman commented 3 years ago

I need to be able to send custom data along with an RTMP packet. I was wondering if the RTMP protocol supports a way to do this.

Yes

stefanjaspers commented 3 years ago

Figured it out by adding custom commands which we can send from the encoder to the server.