Baseflow / Baseflow/XamarinMediaManager

TimeSpan does not accept floating point Not-a-Number values on iOS

Open
#852 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
763
Forks
299
PR merge metrics
No merged PRs in 30d

Description

Sometimes my app crashes and I get this message: TimeSpan does not accept floating point Not-a-Number values.
`TimeSpan.Interval (System.Double value, System.Int32 scale)
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/Common/src/CoreLib/System/TimeSpan.cs, line 249`

I use Plugin.MediaManager nuget package 1.1.0 on iOS and Visual Studio for Mac.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the crash with Plugin.MediaManager 1.1.0 on iOS, then inspect the reported Xamarin.iOS TimeSpan.cs line 249 and trace the value supplied by the media package. Done means identifying the input or playback path that produces NaN and verifying a fix or a precise reproduction case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.