Skip to content

Comments

streaming: add support for bufferkf_ms and bufferkf_bytes#63

Open
lminiero wants to merge 3 commits intomasterfrom
bufferkf
Open

streaming: add support for bufferkf_ms and bufferkf_bytes#63
lminiero wants to merge 3 commits intomasterfrom
bufferkf

Conversation

@lminiero
Copy link
Member

The Streaming plugin now supports configuring a keyframe buffer, in case a burst needs to be sent to new viewers to accelerate the time to first frame (check meetecho/janus-gateway#3564 for more details). This PR makes the createRtpMountpoint method aware of the new properties. A simple example where we buffer 5 seconds of frames:

await janodeManagerHandle.createRtpMountpoint({ id: 6464, name: 'bufferkf-test',
	bufferkf_ms: 5000, video: { port: 19004, pt: 96, rtpmap: 'H264/90000',
		fmtp: 'profile-level-id=42e01f;packetization-mode=1' } });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant