medooze / rtsp-client

RTSP signaling only client library
MIT License
10 stars 4 forks source link

RTSP client library

Minimal rtsp signaling protocol only client library.

Install

npm i --save rtsp-client

Usage

    const RTSPClient = require('rtsp-client');

Example

    //Create client
    const client = new RTSPClient();

    //Connect to url
    await client.connect("rtsp://server.url");

    //Get options
    const options = await client.options();

    //Describe
    const describe = await client.describe();

    //Dump SDP
    console.log(describe.body.plain);

Author

Sergio Garcia Murillo @ Medooze

License

MIT