Skip to content

Allow 0-RTT media push after capability discovery and fence stale frames on seek #384

Backlog

Description

@baylesj

Two round-trip and flush issues come up when implementing push-based media remoting (remote-playback-start-request with remoting, see #241, #343, and #377):

  1. Once a controller caches streaming-capabilities-response for an authenticated receiver, it already knows which codecs and HDR formats the receiver supports. Waiting another network round trip for remote-playback-start-response before sending the first video-frame and audio-frame messages adds startup delay on Wi-Fi. Allowing the sender to push initial media frames on separate unidirectional streams right after remote-playback-start-request (with the receiver resetting unselected encoding streams) removes that extra round trip.
  2. When the controller sends remote-playback-modify-request with seek or fast-seek, pre-seek delta frames can still be in flight on transport streams. Adding a seek generation counter (or scoping each push burst to streams that the sender aborts on seek) lets the receiver flush its decoder without feeding stale pre-seek frames into the new GOP.

Activity

  1. baylesj commented on Nov 24, 2026

    @baylesj
    ContributorAuthor

    I've been working on a fully native Rust OSP implementation that could be used to drive a new generation of sender and receiver implementations. Found this while testing my prototype.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions