@solfkwolf/rtsp-client

0.0.4 • Public • Published

RTSP-CLIENT

The RTSP client for Node.js

so far only support rtsp over TCP.

Getting Started

Install

npm i --save @solfkwolf/rtsp-client

Usage

You can see the example folder.

const RTSPclient = require('@solfkwolf/rtsp-client')

const client = new RTSPClient();

// after play, receive data
client.on("data", (buf) => {
  console.log(buf)
})

// socket connected
client.on("connected", async () => {
  const option = await client.options();
  console.log("S --> C", option)
  const describe = await client.describe()
  console.log("S --> C", describe)
})

client.connect("rtsp://localhost:8554/mystream");

Contributing

Please contribute features or commit issues!

Readme

Keywords

Package Sidebar

Install

npm i @solfkwolf/rtsp-client

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

42.2 kB

Total Files

21

Last publish

Collaborators

  • solfkwolf