Skip to content

Commit 4fb8244

Browse files
committed
ijkplayer 1.1.0
1 parent 59378c4 commit 4fb8244

9 files changed

Lines changed: 19 additions & 11 deletions

File tree

IJKMediaFramework.framework.zip

-51 MB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:1f7368690b353562ba77a04859ea1a38cad94e31dec5a36c81bb1cf4944ba995
3-
size 118361496
2+
oid sha256:c74baf1a7d156ea2a4bb0965b968227913165111dc0a91a87f736dbcf222a842
3+
size 121105600
-25 Bytes
Binary file not shown.

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# ijkplayer
22

3-
[Bilibili/ijkplayer 0.8.2](https://github.com/Bilibili/ijkplayer) cocoapods,iOS video player based on FFmpeg n3.3, with MediaCodec, VideoToolbox support.
3+
[Bilibili/ijkplayer 0.8.3](https://github.com/Bilibili/ijkplayer) cocoapods,iOS video player based on FFmpeg n3.3, with MediaCodec, VideoToolbox support.
4+
5+
# screenshot
6+
7+
![Portrait](screenshot/Portrait.png)
8+
9+
![playUrl](screenshot/playUrl.png)
10+
11+
![playUrlNoControl](screenshot/playUrlNoControl.png)
412

513
# usage
614

715
```ruby
8-
pod 'ijkplayer'
16+
pod 'ijkplayer', '~> 1.1.0'
917
```
1018

1119
OC 参考ijkplayer项目,Swift 参考ijkplayer-Swift项目。

ijkplayer-Swift/ijkplayer-Swift/Demo/IJKQRCodeScanViewController.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ class IJKQRCodeScanViewController: UIViewController, AVCaptureMetadataOutputObje
6161
return
6262
}
6363
captureSession = AVCaptureSession()
64-
videoInput = try? AVCaptureDeviceInput(device: videoDevice ?? AVCaptureDevice())
65-
if (captureSession?.canAddInput(videoInput ?? AVCaptureInput()))! {
66-
captureSession?.addInput(videoInput ?? AVCaptureInput())
64+
videoInput = try? AVCaptureDeviceInput(device: videoDevice)
65+
if (captureSession?.canAddInput(videoInput))! {
66+
captureSession?.addInput(videoInput)
6767
}
6868
previewLayer = AVCaptureVideoPreviewLayer(session: captureSession ?? AVCaptureSession())
6969
previewLayer?.videoGravity = AVLayerVideoGravityResizeAspectFill
7070
// capture and process the metadata
7171
metadataOutput = AVCaptureMetadataOutput()
7272
metadataOutput?.setMetadataObjectsDelegate(self as AVCaptureMetadataOutputObjectsDelegate, queue: DispatchQueue.main)
73-
if (captureSession?.canAddOutput(metadataOutput ?? AVCaptureOutput()))! {
74-
captureSession?.addOutput(metadataOutput ?? AVCaptureOutput())
73+
if (captureSession?.canAddOutput(metadataOutput))! {
74+
captureSession?.addOutput(metadataOutput)
7575
}
7676
}
7777

ijkplayer.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Pod::Spec.new do |s|
22
s.name = "ijkplayer"
3-
s.version = "1.0.0"
3+
s.version = "1.1.0"
44
s.summary = "ijkplayer framework."
55

66
s.description = <<-DESC
7-
bilibili/ijkplayer IJKMediaFramework 上传到 cococapods
7+
bilibili/ijkplayer k0.8.3 IJKMediaFramework 上传到 cococapods
88
DESC
99

1010
s.homepage = "https://github.com/iOSDevLog/ijkplayer"

screenshot/Portrait.png

670 KB
Loading

screenshot/playUrl.png

2.25 MB
Loading

screenshot/playUrlNoControl.png

2.76 MB
Loading

0 commit comments

Comments
 (0)