Closed evdokimovs closed 4 years ago
Part of #27
If answerer sends UpdateTrack before offerer sent his SDP offer, then Event order on the answerer side will be incorrect.
UpdateTrack
Event
Add some delay to the Event::TracksApplied handler with NegotiationRole::Offerer in the Jason.
Event::TracksApplied
NegotiationRole::Offerer
Alice
Bob
Alice's Sender will be muted.
Sender
Alice's Sender should be not muted.
Merge TrackPatches from the track_changes_queue with a TrackPatches from the pending_track_updates on force update.
TrackPatch
track_changes_queue
pending_track_updates
Draft:
k::
Fix deduping on force update in Jason (#134, #27)
@tyranron ,
Тревису что-то с пятницы очень плохо, давайте пока без CI мержить.
UPD: Спустя 4 часа CI таки докрутился.
Part of #27
Synopsis
If answerer sends
UpdateTrack
before offerer sent his SDP offer, thenEvent
order on the answerer side will be incorrect.Steps to reproduce
Add some delay to the
Event::TracksApplied
handler withNegotiationRole::Offerer
in the Jason.Alice
mutes videoAlice
unmutes videoBob
mutes videoAlice
sends SDP offerWhat is the current bug behavior?
Alice
'sSender
will be muted.What is the expected correct behavior?
Alice
'sSender
should be not muted.Solution
Merge
TrackPatch
es from thetrack_changes_queue
with aTrackPatch
es from thepending_track_updates
on force update.Checklist
Draft:
prefixk::
labels appliedDraft:
prefix is removed