Skip to content

feat: report receiver source changes and audio packet infos - #366

Merged
devopvoid merged 1 commit into
mainfrom
feat/receiver-source-info
Oct 13, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/receiver-source-info

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Wraps three smaller APIs that are new in M155.

  • RTCRtpReceiverObserver.onSourceChanged(ssrcChanged, csrcChanged), a default method.
  • An AudioTrackSink.onData variant with the RTP packets the audio came from (SSRC, CSRCs, audio level). Packets are only collected for sinks that implement it.
  • RTCOfferOptions.restrictToStableOrHaveLocalOffer.

Since M155 an audio receiver learns its sources only while playout runs; the headless audio guide says so.

Adds RTCRtpReceiverObserver.onSourceChanged, an AudioTrackSink.onData variant with the RTP packets the audio came from (collected only for sinks that implement it), and RTCOfferOptions.restrictToStableOrHaveLocalOffer, all new in M155.
@devopvoid
devopvoid merged commit 22cd28a into main Oct 13, 2026
25 checks passed
@devopvoid
devopvoid deleted the feat/receiver-source-info branch October 13, 2026 22:44
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