Caijinglong преди 6 години
родител
ревизия
084964784c
променени са 2 файла, в които са добавени 50 реда и са изтрити 54 реда
  1. 23 24
      README-EN.md
  2. 27 30
      README.md

+ 23 - 24
README-EN.md

@@ -12,34 +12,31 @@ The simulator is out of use, so please use the real machine for debugging.
 
 Before using library, you can star and download the code to try the example.
 
-## Menu
-
 - [ijkplayer](#ijkplayer)
-  - [Menu](#Menu)
-  - [Install](#Install)
-  - [Build](#Build)
-    - [Custom compile library](#Custom-compile-library)
-    - [iOS](#iOS)
-    - [Android](#Android)
-  - [Simple Example](#Simple-Example)
-  - [Usage](#Usage)
-    - [Usage of ijkplayer](#Usage-of-ijkplayer)
+  - [Install](#install)
+  - [Build](#build)
+    - [Custom compile library](#custom-compile-library)
+    - [iOS](#ios)
+    - [Android](#android)
+  - [Simple Example](#simple-example)
+  - [Usage](#usage)
+    - [Usage of ijkplayer](#usage-of-ijkplayer)
     - [about dispose](#about-dispose)
-    - [Usage of controller](#Usage-of-controller)
-      - [DataSource](#DataSource)
+    - [Usage of controller](#usage-of-controller)
+      - [DataSource](#datasource)
       - [control your media](#control-your-media)
       - [get media info](#get-media-info)
       - [screen shot](#screen-shot)
-      - [Observer for resource](#Observer-for-resource)
-      - [Media Speed](#Media-Speed)
-      - [IjkStatus](#IjkStatus)
-      - [Custom Options](#Custom-Options)
-        - [IjkOptionCategory](#IjkOptionCategory)
+      - [Observer for resource](#observer-for-resource)
+      - [Media Speed](#media-speed)
+      - [IjkStatus](#ijkstatus)
+      - [Custom Options](#custom-options)
+        - [IjkOptionCategory](#ijkoptioncategory)
       - [release resource](#release-resource)
-    - [Use self controller UI](#Use-self-controller-UI)
-    - [Build widget from IjkStatus](#Build-widget-from-IjkStatus)
-    - [Use Texture widget](#Use-Texture-widget)
-  - [LICENSE](#LICENSE)
+    - [Use self controller UI](#use-self-controller-ui)
+    - [Build widget from IjkStatus](#build-widget-from-ijkstatus)
+    - [Use Texture widget](#use-texture-widget)
+  - [LICENSE](#license)
 
 ## Install
 
@@ -71,8 +68,10 @@ Because the libraries of some iOS codes are large, a pod-dependent ijkplayer lib
 The pod library is hosted in the GitHub repository at https://github.com/CaiJingLong/flutter_ijkplayer_pod
 Instead of tar.gz or zip, we use tar.xz to compress. This compression format has high compression rate, but slow compression and decompression speed. Considering the way of high compression rate, we should use high compression rate.
 If a friend is willing to provide CDN acceleration, you can contact me
-IOS code comes from iOS code in https://github.com/jadennn/flutter_ijk
-On this basis, rotation notification is added.
+The ios part of the code is based on the https://github.com/jadennn/flutter_ijk.
+Add some change rotation notification is added.
+
+Now, the code in the [repository](https://gitee.com/kikt/ijkplayer_thrid_party)
 
 ### Android
 

+ 27 - 30
README.md

@@ -16,36 +16,33 @@ android 模拟器 mac android sdk 自带的 emulator(API28 android9)可用,其
 
 在正式使用前,可以先 star 一下仓库, download 代码跑一下 example 尝试 (clone 也可以)
 
-## 目录
-
 - [ijkplayer](#ijkplayer)
-  - [目录](#%E7%9B%AE%E5%BD%95)
-  - [English Readme](#English-Readme)
-  - [安装](#%E5%AE%89%E8%A3%85)
-  - [原生部分说明](#%E5%8E%9F%E7%94%9F%E9%83%A8%E5%88%86%E8%AF%B4%E6%98%8E)
-    - [自定义编译和原生部分源码](#%E8%87%AA%E5%AE%9A%E4%B9%89%E7%BC%96%E8%AF%91%E5%92%8C%E5%8E%9F%E7%94%9F%E9%83%A8%E5%88%86%E6%BA%90%E7%A0%81)
-    - [iOS](#iOS)
-    - [Android](#Android)
-  - [入门示例](#%E5%85%A5%E9%97%A8%E7%A4%BA%E4%BE%8B)
-  - [使用](#%E4%BD%BF%E7%94%A8)
-    - [设置](#%E8%AE%BE%E7%BD%AE)
-    - [关于销毁](#%E5%85%B3%E4%BA%8E%E9%94%80%E6%AF%81)
-    - [控制器的使用](#%E6%8E%A7%E5%88%B6%E5%99%A8%E7%9A%84%E4%BD%BF%E7%94%A8)
-      - [设置资源](#%E8%AE%BE%E7%BD%AE%E8%B5%84%E6%BA%90)
-      - [播放器的控制](#%E6%92%AD%E6%94%BE%E5%99%A8%E7%9A%84%E6%8E%A7%E5%88%B6)
-      - [获取播放信息](#%E8%8E%B7%E5%8F%96%E6%92%AD%E6%94%BE%E4%BF%A1%E6%81%AF)
-      - [截取视频帧](#%E6%88%AA%E5%8F%96%E8%A7%86%E9%A2%91%E5%B8%A7)
-      - [资源监听](#%E8%B5%84%E6%BA%90%E7%9B%91%E5%90%AC)
-      - [倍速播放](#%E5%80%8D%E9%80%9F%E6%92%AD%E6%94%BE)
-      - [IjkStatus 说明](#IjkStatus-%E8%AF%B4%E6%98%8E)
-      - [自定义 Option](#%E8%87%AA%E5%AE%9A%E4%B9%89-Option)
-        - [IjkOptionCategory](#IjkOptionCategory)
-      - [释放资源](#%E9%87%8A%E6%94%BE%E8%B5%84%E6%BA%90)
-    - [自定义控制器 UI](#%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8E%A7%E5%88%B6%E5%99%A8-UI)
-    - [自定义纹理界面](#%E8%87%AA%E5%AE%9A%E4%B9%89%E7%BA%B9%E7%90%86%E7%95%8C%E9%9D%A2)
-    - [根据当前状态构建一个 widget](#%E6%A0%B9%E6%8D%AE%E5%BD%93%E5%89%8D%E7%8A%B6%E6%80%81%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA-widget)
-  - [进度](#%E8%BF%9B%E5%BA%A6)
-  - [LICENSE](#LICENSE)
+  - [English Readme](#english-readme)
+  - [安装](#%e5%ae%89%e8%a3%85)
+  - [原生部分说明](#%e5%8e%9f%e7%94%9f%e9%83%a8%e5%88%86%e8%af%b4%e6%98%8e)
+    - [自定义编译和原生部分源码](#%e8%87%aa%e5%ae%9a%e4%b9%89%e7%bc%96%e8%af%91%e5%92%8c%e5%8e%9f%e7%94%9f%e9%83%a8%e5%88%86%e6%ba%90%e7%a0%81)
+    - [iOS](#ios)
+    - [Android](#android)
+  - [入门示例](#%e5%85%a5%e9%97%a8%e7%a4%ba%e4%be%8b)
+  - [使用](#%e4%bd%bf%e7%94%a8)
+    - [设置](#%e8%ae%be%e7%bd%ae)
+    - [关于销毁](#%e5%85%b3%e4%ba%8e%e9%94%80%e6%af%81)
+    - [控制器的使用](#%e6%8e%a7%e5%88%b6%e5%99%a8%e7%9a%84%e4%bd%bf%e7%94%a8)
+      - [设置资源](#%e8%ae%be%e7%bd%ae%e8%b5%84%e6%ba%90)
+      - [播放器的控制](#%e6%92%ad%e6%94%be%e5%99%a8%e7%9a%84%e6%8e%a7%e5%88%b6)
+      - [获取播放信息](#%e8%8e%b7%e5%8f%96%e6%92%ad%e6%94%be%e4%bf%a1%e6%81%af)
+      - [截取视频帧](#%e6%88%aa%e5%8f%96%e8%a7%86%e9%a2%91%e5%b8%a7)
+      - [资源监听](#%e8%b5%84%e6%ba%90%e7%9b%91%e5%90%ac)
+      - [倍速播放](#%e5%80%8d%e9%80%9f%e6%92%ad%e6%94%be)
+      - [IjkStatus 说明](#ijkstatus-%e8%af%b4%e6%98%8e)
+      - [自定义 Option](#%e8%87%aa%e5%ae%9a%e4%b9%89-option)
+        - [IjkOptionCategory](#ijkoptioncategory)
+      - [释放资源](#%e9%87%8a%e6%94%be%e8%b5%84%e6%ba%90)
+    - [自定义控制器 UI](#%e8%87%aa%e5%ae%9a%e4%b9%89%e6%8e%a7%e5%88%b6%e5%99%a8-ui)
+    - [自定义纹理界面](#%e8%87%aa%e5%ae%9a%e4%b9%89%e7%ba%b9%e7%90%86%e7%95%8c%e9%9d%a2)
+    - [根据当前状态构建一个 widget](#%e6%a0%b9%e6%8d%ae%e5%bd%93%e5%89%8d%e7%8a%b6%e6%80%81%e6%9e%84%e5%bb%ba%e4%b8%80%e4%b8%aa-widget)
+  - [进度](#%e8%bf%9b%e5%ba%a6)
+  - [LICENSE](#license)
 
 ## English Readme
 
@@ -83,7 +80,7 @@ pod 库托管在 github 仓库内 https://github.com/CaiJingLong/flutter_ijkplay
 没有采用通用的 tar.gz 或 zip,而是使用 tar.xz 的方式压缩,这个压缩格式压缩率高,但是压缩和解压缩的的速度慢,综合考虑使用高压缩率的方式来快速获取源文件并解压缩  
 如果有朋友愿意提供 cdn 加速,可以联系我 😁
 
-iOS 的代码来自于 https://github.com/jadennn/flutter_ijk 中的 iOS 代码, 但在这基础上增加了旋转通知, 具体的源码[在这里](https://gitee.com/kikt/ijkplayer_thrid_party)
+iOS 的原始代码来自于 https://github.com/jadennn/flutter_ijk 中提供的 iOS 代码, 但在这基础上有了修改, 不能直接使用这个仓库的源码, 具体的源码[在这里](https://gitee.com/kikt/ijkplayer_thrid_party)
 
 ### Android