Skip to content

[[Receptive]] can get stuck in wrong state when rolling back SDP #3081

@fippo

Description

@fippo

tl;dr:
Rollback should bring you back to the pre-offer state, if it's possible at all, both for local and remote offers.
It does not.

While looking at mute @henbos, @alvestrand and me came up with some minor gaps in how receptive is defined. Full story here

  1. "process remote tracks" can only make [[Receptive]] false, not true, meaning you can easily get stuck in a non-receptive state:
Full-O/A: sendrecv (receptive=true)
SRD-offer: inactive (receptive=false)
Rollback: sendrecv again but stuck in receptive=false?
  1. To only "rollback" the receptiveness in "have-remote-offer" means we don't roll it back in "have-local-offer", so again we get stuck with the wrong receptiveness sate.

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