浏览代码

Merge pull request #138 from CaiJingLong/fix-ios-fps

Fix ios fps error.
Caijinglong 6 年之前
父节点
当前提交
315a769358
共有 4 个文件被更改,包括 8 次插入3 次删除
  1. 6 0
      CHANGELOG.md
  2. 1 1
      example/pubspec.lock
  3. 0 1
      ios/Classes/CoolFlutterIJK.m
  4. 1 1
      pubspec.yaml

+ 6 - 0
CHANGELOG.md

@@ -1,3 +1,9 @@
+## 0.3.4
+
+Fix:
+
+- The fps of the autoplayed datasource is always 3.
+
 ## 0.3.3
 
 Migrate ios pod library from github to azure.

+ 1 - 1
example/pubspec.lock

@@ -82,7 +82,7 @@ packages:
       path: ".."
       relative: true
     source: path
-    version: "0.3.3"
+    version: "0.3.4"
   flutter_localizations:
     dependency: "direct main"
     description: flutter

+ 0 - 1
ios/Classes/CoolFlutterIJK.m

@@ -263,7 +263,6 @@
 
     displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(onDisplayLink:)];
     [displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];
-    displayLink.paused = YES;
 
     notifyChannel = [CoolIjkNotifyChannel channelWithController:controller textureId:textureId registrar:self.registrar];
     notifyChannel.infoDelegate = self;

+ 1 - 1
pubspec.yaml

@@ -1,6 +1,6 @@
 name: flutter_ijkplayer
 description: Base by bilibili ijkplayer, it's video/audio player, support https、rtmp、m3u8 and more protocol.
-version: 0.3.3
+version: 0.3.4
 author: caijinglong<cjl_spy@163.com>
 homepage: https://github.com/CaiJingLong/flutter_ijkplayer