Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player crashed on Random time parsing ? #711

Open
cubecleveland opened this issue Mar 9, 2022 · 2 comments
Open

Player crashed on Random time parsing ? #711

cubecleveland opened this issue Mar 9, 2022 · 2 comments
Labels
bug Something isn't working player Related to player (media-stream-player-js package)

Comments

@cubecleveland
Copy link

Hi, we get random crahsed of the react player

App of react in dev mode crashed with this
image
proobably has to do with time parsing... any way to get around that ?

@cubecleveland cubecleveland added the bug Something isn't working label Mar 9, 2022
@lekoaf
Copy link
Member

lekoaf commented Mar 10, 2022

/**
   * When playing a recording, the time the video started
   * (used for labeling with an absolute time) formatted
   * as an ISO time, e.g.: 2021-02-03T12:21:57.465715Z
   */
  readonly startTime?: string
  /**
   * When playing a recording, the total duration of the video
   * if known by the user (and not reported from backend) in
   * seconds.
   */
  readonly duration?: number

Are you setting these two properties correctly in the <Player /> component?

@cubecleveland
Copy link
Author

Thanks for the response, im just playing a live feed, what should those args be ?

@steabert steabert transferred this issue from AxisCommunications/media-stream-player-js Jan 25, 2023
@steabert steabert added the player Related to player (media-stream-player-js package) label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working player Related to player (media-stream-player-js package)
Projects
None yet
Development

No branches or pull requests

3 participants