Closed JaySunSyn closed 6 years ago
app-media-stream sets its stream property to null if active gets set to false.
app-media-stream
stream
active
app-media-recorder tries to re-compute the recorder property with a nullified stream. => throws error.
app-media-recorder
No error.
Uncaught TypeError: Failed to construct 'MediaRecorder': parameter 1 is not of type 'MediaStream'.
Bind stream from app-media-stream to app-media-recorder. Set active property of app-media-stream to false.
false
Should be fixed by #47
Description
app-media-stream
sets itsstream
property to null ifactive
gets set to false.app-media-recorder
tries to re-compute the recorder property with a nullified stream. => throws error.Expected outcome
No error.
Actual outcome
Steps to reproduce
Bind
stream
fromapp-media-stream
toapp-media-recorder
. Setactive
property ofapp-media-stream
tofalse
.