How to use the sdp-transform.parseSimulcastStreamList function in sdp-transform

To help you get started, we’ve selected a few sdp-transform examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github medooze / semantic-sdp-js / lib / SDPInfo.js View on Github external
//Get sending encodings
		const encodings = [];

		//Check if it has simulcast info
		if (md.simulcast)
		{
			//Create simulcast object
			const simulcast = new SimulcastInfo();

			//Check dir1 attr
			if (md.simulcast.dir1)
			{
				//Get direction
				const direction = DirectionWay.byValue (md.simulcast.dir1);
				//Parse simulcast streamlist
				const list = SDPTransform.parseSimulcastStreamList(md.simulcast.list1);
				//for each alternative stream set
				for (let j=0; j
github medooze / semantic-sdp-js / lib / SDPInfo.js View on Github external
const alternatives = [];
					//For each alternative
					for (let k=0; k

sdp-transform

A simple parser/writer for the Session Description Protocol

MIT
Latest version published 9 months ago

Package Health Score

66 / 100
Full package analysis