After #1081, using the original track as the processed track in a track processor is no longer possible.
It results in an OverconstrainedError: The track is not connected to any source error because the track is being stopped before trying to set the constraints again:
But this results in the following error, because stopProcessorremoves the processorElement after initialization.
TypeError: Cannot read properties of undefined (reading 'srcObject')
at attachToElement (Track.ts:344:5)
at LocalTrack.ts:489:7
at Generator.next (<anonymous>)
at fulfilled (logger.ts:91:1)
Describe the bug
After #1081, using the original track as the processed track in a track processor is no longer possible.
It results in an
OverconstrainedError: The track is not connected to any source
error because the track is being stopped before trying to set the constraints again:I tried to clone the track as well:
But this results in the following error, because
stopProcessor
removes theprocessorElement
after initialization.Reproduction
Add the above track processor.
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response