MistaHanyi / rtsp-client

RTSP signaling only client library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

RTSP signaling only client library

License:MIT License


Languages

Language:JavaScript 100.0%