Skip to content

feat: port the media file player example to the client API - #399

Merged
devopvoid merged 2 commits into
feat/client-apifrom
feat/client-api-media-player
Oct 21, 2026
Merged

devopvoid merged 2 commits into
feat/client-apifrom
feat/client-api-media-player

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Stacked on #397; retarget to main once it merges.

  • MediaFilePlayerExample on the client API: one runtime in the CUSTOM audio mode instead of two factories, a loopback signaling instead of the hand-rolled offer/answer/candidate exchange, the Swing VideoView, and onStats for the metrics panel.
  • A Record button that records the received tracks with MediaRecorder.
  • LocalTrack.closeAsync(), so a track over a MediaFileSource's sources can be released before the file closes them.
  • The examples page describes the new version.

LocalTrack.closeAsync completes once the native track is released, after
which a source it was made over may be closed.
One runtime in the CUSTOM audio mode replaces the two factories, a loopback
signaling the hand-rolled offer, answer and candidate exchange, and the
Swing VideoView the example's own panel. Statistics come from onStats, and
a Record button records the received tracks with MediaRecorder.
@devopvoid
devopvoid added this pull request to stack #400 October 21, 2026 05:41
@devopvoid
devopvoid merged commit 6a47096 into main Oct 21, 2026
25 checks passed
@devopvoid
devopvoid deleted the feat/client-api-media-player branch October 21, 2026 18:36
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