Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Audio is OK, But no player card UI for music #79

Closed
2 tasks
VictorFrench opened this issue Mar 6, 2021 · 4 comments
Closed
2 tasks

Audio is OK, But no player card UI for music #79

VictorFrench opened this issue Mar 6, 2021 · 4 comments

Comments

@VictorFrench
Copy link

Briefly summarize your issue:

some times Audio coming but not seen player card UI on index.html. Randomly seeing this issue. if we give again play songs from amazon music then it starts playing and showing the player card.
Observation is that, when we say play songs from amazon music in working scenario TemplateRuntime and play directives are coming. In issue scenario, play directive is coming But TemplateRuntime directive was not seen in logs.
Our device doesn't supports Ducking.
From the attached logs:
first two interactions audio and UI is OK. For third interaction asked for play songs from amazon music, Play directive received but TemplateRuntime Directive not received.

DirectiveSequencer:onDirective:directive=namespace:AudioPlayer,name:Play,messageId:5a96b9e0-bbb7-4fe4-8fcb-e290fa6a4263
MusicOk_NO_UI.txt

What is the expected behavior?

Both audio and UI need to be seen

What behavior are you observing?

Audio is ok, UI is not seen

Provide the steps to reproduce the issue, if applicable:

play songs from amazon music

Tell us about your environment:

Our device doesn't support the ducking. we have done build with interruptModel as false in sampleApp
SDK Versions used as follow
AVS SDK: 1.20.1
SS SDK: 2.2.1
APL CORE: 1.3.3

What version of the AVS Device SDK are you using?

  1.20.1

Tell us what hardware you're using:

  • Other - tell us more:

Tell us about your OS (Type & version):

  • Linux
@VaruPan
Copy link
Contributor

VaruPan commented Mar 10, 2021

@VictorFrench,

Thanks for reaching out to Alexa Team. As you rightly said, from the logs it seems that the device did not recieve renderPlayerInfo directive. Can you provide us the steps to reproduce and observed output, is this issue intermittent or is it happening consistently? Since version 2.2.1, we have added multiple fixes to the sdk, can you upgrade to latest sdk 2.5 and see if the issue persist?

@VictorFrench
Copy link
Author

@VaruPan ,

Thanks for replying. As i mentioned, it is random issue. But we have observed the similar issue when notifications are created which is consistently reproducible in our device.
we have used quotemaker skill to create notification on our device and seen Notification directive is received by AVS SDK and not seen any TemplateRuntime directive. we also received on ListRender directive which causing some "sendingExceptionEncountered"

reproduction steps:

  1. log in to alexa
  2. say "open quotemaker"
  3. replies that do you want to create new notification and say "yes"

From logs:
2021-03-17 07:31:36.135 [ 24] I DirectiveSequencer:onDirective:directive=namespace:Notifications,name:SetIndicator,messageId:f2657422-ecb0-407d-8152-75d306d681b4\

2021-03-17 07:31:36.139 [ 24] I DirectiveSequencer:onDirective:directive=namespace:ListRenderer,name:RenderDetail,messageId:2d971f21-eb63-4b5a-bb61-17cb755cd061,dialogRequestId:e759678e-85f7-4977-9e8d-db6be448a2a0,correlationToken:,eventCorrelationToken:,payloadVersion:,instance:

2021-03-17 07:31:36.157 [ 32] 0 EventBuilder:buildJsonEventString:event={"context":{"properties":[]},"event":{"header":{"namespace":"System","name":"ExceptionEncountered"

we can't update to latest versions as of now. can you please help to check root cause for "why TemplateRunTime directive not received".

Thank you..!

quoteMaker_notification.txt

@zsubas
Copy link
Contributor

zsubas commented Apr 15, 2021

Hey @VictorFrench,

Notifications don't have any visuals, hence we don't receive any TR directive for it. You can see the detailed information from Notifications API: https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/notifications.html

For the initial question, I have tested this scenario in version 2.2.1:

  1. Play something on Amazon Music -> Music plays, UI renders successfully
  2. Play something on Amazon Music -> Music plays, UI renders successfully
  3. Play something on Amazon Music -> Music plays, UI renders successfully

Were you testing with the same scenario too? If not can you please provide detailed steps. Lastly, is this issue always reproducable on your end?

@nguymi91
Copy link

Closing due to inactivity. Please reopen if needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants