如您所见,我正在使用 MediaObject 播放音频。音频正在播放,但我在 mediaStatus 中得到“未定义”
`app.handle('Default_Welcome_Intent', (conv) => {
conv.add('This is a media response');
conv.add(new Media({
mediaObjects: [
{
name: 'Media name',
description: 'Media description',
url: 'https://storage.googleapis.com/automotive-media/Jazz_In_Paris.mp3',
image: {
large: ASSISTANT_LOGO_IMAGE,
}
}
],
mediaType: 'AUDIO',
optionalMediaControls: ['PAUSED', 'STOPPED'],
startOffset: '0s'
}));
const mediaStatus = conv.intent.params.MEDIA_STATUS.resolved;
return console.log(mediaStatus)
});`