nstudio / nstudio/nativescript-plugins
@nstudio/nativescript-exoplayer getDuration on IOS live stream returns Nan
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 55
- Forks
- 42
- Avg merge
- 49m
- Merged PRs (30d)
- 1
Description
getDuration method returns Nan (only on ios) if src is a live stream. on android it works as expected.
steps to reproduce:
- create any simple project using "ns create".
- install nativescript-exoplayer "ns plugin add @nstudio/nativescript-exoplayer".
- fire getDuration method.
any help would be greatly appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the iOS implementation of getDuration in the @nstudio/nativescript-exoplayer plugin and compare it with the Android behavior. Reproduce the report using a simple project created with ns create, the plugin installed via ns plugin add, and a live stream. Done means getDuration no longer returns NaN for an iOS live stream and the behavior is covered by an appropriate test if the repository provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100