File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Sources/FastpixVideoDataAVPlayer Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 1.0.3]
6+ - Updated iOS Video Data Core.
7+
58## [ 1.0.2]
69- Updated iOS Video Data Core.
710
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ let package = Package(
1818 ] ,
1919 dependencies: [
2020 // Add the Git URL package dependency here
21- . package ( url: " https://github.com/FastPix/iOS-core-data-sdk.git " , from: " 1.0.2 " )
21+ . package ( url: " https://github.com/FastPix/iOS-core-data-sdk.git " , from: " 1.0.3 " )
2222 ] ,
2323 targets: [
2424 . target(
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public class initAvPlayerTracking: NSObject {
8888 } else {
8989 dispatchTimeUpdateEvent ( )
9090 }
91- self . computeDrift ( )
91+ self . seekTracker ( )
9292 self . updateLastPlayheadTime ( )
9393 }
9494
@@ -334,7 +334,7 @@ public class initAvPlayerTracking: NSObject {
334334 }
335335 dispatchEvent ( event: " play " , metadata: [ : ] )
336336 videoTransitionState = " play "
337- self . computeDrift ( )
337+ self . seekTracker ( )
338338 self . updateLastPlayheadTime ( )
339339 }
340340
@@ -358,14 +358,14 @@ public class initAvPlayerTracking: NSObject {
358358 }
359359 dispatchEvent ( event: " pause " , metadata: [ : ] )
360360 videoTransitionState = " paused "
361- self . computeDrift ( )
361+ self . seekTracker ( )
362362 }
363363
364364 public func getTimeObserverInternal( ) -> CMTime {
365365 return CMTimeMakeWithSeconds ( 0.1 , preferredTimescale: CMTimeScale ( NSEC_PER_SEC) )
366366 }
367367
368- public func computeDrift ( ) {
368+ public func seekTracker ( ) {
369369
370370 if !isPlayStarted {
371371 return
You can’t perform that action at this time.
0 commit comments