Closed longjinxiang closed 2 years ago
@longjinxiang This looks very similar to another issue we are investigating. Can you apply the following change locally and rebuild?
You can modify the following lines as follows and then rebuild: https://github.com/alexa/alexa-smart-screen-sdk/blob/v2.7.1/modules/GUI/js/src/lib/media/AVSAudioPlayer.ts#L82-L83
super.onError(id, reason);
if (reason.toString().includes(`TypeError: Cannot read properties of undefined (reading 'component')`)) return;
this.playing = false;
Closing due to inactivity - please re-open if you are still encountering this issue.
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
When I use alexa to control the menu, the music doesn't stop playing. But when I use remote to control the menu, the music was stopped.
What is the expected behavior?
When I use alexa to control the menu, the music should stop playing.
What behavior are you observing?
When I use alexa to control the menu, the music should stop playing.
Provide the steps to reproduce the issue, if applicable:
Tell us about your environment:
TV
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):
Have you tried the same use case with AVS Device SDK SampleApp?