diff --git a/ios/IJKMediaPlayer/IJKMediaPlayer/IJKFFMoviePlayerController.m b/ios/IJKMediaPlayer/IJKMediaPlayer/IJKFFMoviePlayerController.m index 6d553b9988f8e4e3755364a66668ebec14a17f0b..dfb17dac271ac152f8d46ef4767d44820d788a97 100644 --- a/ios/IJKMediaPlayer/IJKMediaPlayer/IJKFFMoviePlayerController.m +++ b/ios/IJKMediaPlayer/IJKMediaPlayer/IJKFFMoviePlayerController.m @@ -66,15 +66,9 @@ @synthesize playbackState = _playbackState; @synthesize loadState = _loadState; -@synthesize naturalSize = _naturalSize; - @synthesize controlStyle = _controlStyle; @synthesize scalingMode = _scalingMode; @synthesize shouldAutoplay = _shouldAutoplay; -@synthesize useApplicationAudioSession = _useApplicationAudioSession; -@synthesize currentPlaybackRate = _currentPlaybackRate; -@synthesize initialPlaybackTime = _initialPlaybackTime; -@synthesize endPlaybackTime = _endPlaybackTime; #define FFP_IO_STAT_STEP (50 * 1024) @@ -163,10 +157,6 @@ void IJKFFIOStatCompleteRegister(void (*cb)(const char *url, _controlStyle = MPMovieControlStyleNone; _scalingMode = MPMovieScalingModeAspectFit; _shouldAutoplay = NO; - _useApplicationAudioSession = NO; - _currentPlaybackRate = 1.0f; - _initialPlaybackTime = 0; - _endPlaybackTime = 0; // init media resource _ffMrl = [[IJKFFMrl alloc] initWithMrl:aUrlString]; diff --git a/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMPMoviePlayerController.m b/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMPMoviePlayerController.m index 900c8edbfbf1b0f17e9e26ee7cbd30de4b7a65af..77b0abaa4e3656adcd67cd828ea6c660cbf159ec 100644 --- a/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMPMoviePlayerController.m +++ b/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMPMoviePlayerController.m @@ -38,15 +38,9 @@ @dynamic playbackState; @dynamic loadState; -@dynamic naturalSize; - @dynamic controlStyle; @dynamic scalingMode; @dynamic shouldAutoplay; -@dynamic useApplicationAudioSession; -@dynamic currentPlaybackRate; -@dynamic initialPlaybackTime; -@dynamic endPlaybackTime; @synthesize numberOfBytesTransferred = _numberOfBytesTransferred; - (id)initWithContentURL:(NSURL *)aUrl diff --git a/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMediaPlayback.h b/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMediaPlayback.h index 1e9f01934684b257742e042e3563b611d100682e..5194169e34d50ca0ece6a88e1d4243e0c258baca 100644 --- a/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMediaPlayback.h +++ b/ios/IJKMediaPlayer/IJKMediaPlayer/IJKMediaPlayback.h @@ -49,8 +49,6 @@ @property(nonatomic, readonly) MPMoviePlaybackState playbackState; @property(nonatomic, readonly) MPMovieLoadState loadState; -@property(nonatomic, readonly) CGSize naturalSize; - @property(nonatomic, readonly) int64_t numberOfBytesTransferred; // deprecated, for MPMoviePlayerController compatiable @@ -62,10 +60,6 @@ @property(nonatomic) MPMovieControlStyle controlStyle; @property(nonatomic) MPMovieScalingMode scalingMode; @property(nonatomic) BOOL shouldAutoplay; -@property(nonatomic) BOOL useApplicationAudioSession; -@property(nonatomic) float currentPlaybackRate; -@property(nonatomic) NSTimeInterval initialPlaybackTime; -@property(nonatomic) NSTimeInterval endPlaybackTime; #pragma mark Notifications