Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

startOffset - simulator issue #8

Open
lhanusiak-tcp opened this issue Sep 24, 2020 · 2 comments
Open

startOffset - simulator issue #8

lhanusiak-tcp opened this issue Sep 24, 2020 · 2 comments

Comments

@lhanusiak-tcp
Copy link

lhanusiak-tcp commented Sep 24, 2020

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 lhanusiak-tcp changed the title startOffset issue startOffset issue - simulator issue Sep 24, 2020
@lhanusiak-tcp lhanusiak-tcp changed the title startOffset issue - simulator issue startOffset - simulator issue Sep 24, 2020
@Fleker
Copy link
Member

Fleker commented Sep 24, 2020

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

@lhanusiak-tcp
Copy link
Author

lhanusiak-tcp commented Sep 24, 2020

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

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

2 participants