Skip to content

streaming: add support for bufferkf_ms and bufferkf_bytes - #63

Merged
lminiero merged 4 commits into
masterfrom
bufferkf
Jul 28, 2026
Merged

streaming: add support for bufferkf_ms and bufferkf_bytes#63
lminiero merged 4 commits into
masterfrom
bufferkf

Conversation

@lminiero

Copy link
Copy Markdown
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' } });

@lminiero

Copy link
Copy Markdown
Member Author

Merging.

@lminiero
lminiero merged commit 14e4421 into master Jul 28, 2026
1 check passed
@lminiero
lminiero deleted the bufferkf branch July 28, 2026 09:50
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