Issue #2659 and #2535:
Based on PR #2663.
If calling startContentShare and then call stopContentShare or delete the media stream before the content attendee join the meeting, there will be an error logged in audioVideoDidStart event when the content attendee joins the meeting.
Credits to @kennyvallejodev for providing the fix #2663 😃
Cannot read properties of null (reading 'getVideoTracks')
Description of changes:
Add an optional chaining to make sure the media stream still exists.
Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Yes,
Issue #2659 and #2535: Based on PR #2663. If calling
startContentShare
and then callstopContentShare
or delete the media stream before the content attendee join the meeting, there will be an error logged inaudioVideoDidStart
event when the content attendee joins the meeting.Credits to @kennyvallejodev for providing the fix #2663 😃
Description of changes: Add an optional chaining to make sure the media stream still exists.
Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions. Yes,
Checklist:
Have you successfully run
npm run build:release
locally? YesDo you add, modify, or delete public API definitions? If yes, has that been reviewed and approved? No
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved? No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.