assistant-conversation-nodejs icon indicating copy to clipboard operation
assistant-conversation-nodejs copied to clipboard

startOffset - simulator issue

Open lhanusiak-tcp opened this issue 5 years ago • 2 comments

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.

lhanusiak-tcp avatar Sep 24 '20 08:09 lhanusiak-tcp

Is it just in the simulator or does it happen on devices as well?

Fleker avatar Sep 24 '20 16:09 Fleker

Only in the simulator. It is working well on mobile device.

lhanusiak-tcp avatar Sep 24 '20 17:09 lhanusiak-tcp