File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ NS_SWIFT_NAME(PlaybackService)
70
70
@property (nonatomic, readonly) VLCMetaData *metadata;
71
71
72
72
@property (nonatomic, readonly) NSInteger mediaDuration;
73
+ @property (nonatomic, readonly) VLCTime *mediaLength;
73
74
@property (nonatomic, readonly) BOOL isPlaying;
74
75
@property (nonatomic, readonly) BOOL playerIsSetup;
75
76
@property (nonatomic, readwrite) BOOL playAsAudio;
Original file line number Diff line number Diff line change @@ -529,7 +529,12 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
529
529
530
530
- (NSInteger )mediaDuration
531
531
{
532
- return _mediaPlayer.media .length .intValue ;;
532
+ return _mediaPlayer.media .length .intValue ;
533
+ }
534
+
535
+ - (VLCTime *)mediaLength
536
+ {
537
+ return _mediaPlayer.media .length ;
533
538
}
534
539
535
540
- (BOOL )isPlaying
You can’t perform that action at this time.
0 commit comments