Closed Bug 1765627 Opened 2 years ago Closed 2 years ago

Add more assertions for DeviceInputConsumerTrack's ConnectDeviceInput and DisconnectDeviceInput

Categories

(Core :: Audio/Video: MediaStreamGraph, task, P1)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

References

Details

Attachments

(1 file)

We can add more assertions to check

  1. DeviceInputConsumerTrack won't connect DeviceInputTrack without disconnecting the original one first
  2. The DeviceInputTrack is only set if the AudioDataListener is set as well

Add some assertions to make sure the ConnectDeviceInput and
DisconnectDeviceInput are called at the right time.

Blocks: 1765216
Pushed by cchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52b93d9f82e2
Make sure {Disc, C}onnectDeviceInput are correctly called r=padenot
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: