assistant-conversation-nodejs
assistant-conversation-nodejs copied to clipboard
startOffset - simulator issue
Following the example here , following code always is playing media file from the beginning.
conv.add(new Media({
mediaObjects: [
{
name: 'Media name',
description: 'Media description',
url: 'https://storage.googleapis.com/automotive-media/Jazz_In_Paris.mp3',
image: {
large: JAZZ_IN_PARIS_IMAGE,
}
}
],
mediaType: 'AUDIO',
optionalMediaControls: ['PAUSED', 'STOPPED'],
startOffset: '5.0000001s'
}));
It is look like startOffset is always ignored on simulator.
Is it just in the simulator or does it happen on devices as well?
Only in the simulator. It is working well on mobile device.