Skip to content

Error: Audio mp3 uploads gives Invariant Violation duration < 0 #243

@kb0304

Description

@kb0304
  • Your Rocket.Chat server version: 0.62.0-develop

  • Device model (or emulator) you're running with: Nexus 5X - Android 6

  • Steps to reproduce:
    Using browser, upload a mp3 file from computer in a channel.
    Open the channel in app.

The current implementation gives an error for mp3 file as react-native-video returns naturalSize.duration as -0.001 for it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions