Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable some audio decoders support #5101

Open
wants to merge 234 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
9e3ee39
ios: IJKSDLGLView fix xcode 10.2.1 Main Thread Checker issues
baishuai May 25, 2019
79ffe08
add objc wrap IJKFFMediaPlayer for c IjkMediaPlayer
befovy Jun 18, 2019
943ac89
android gradle config update, make it usable in android studio 3.4
befovy Jun 19, 2019
b449817
android iOS: add isomorphic player event listener
befovy Jun 19, 2019
ca032a7
set android min SDK version to 16, change msg_queue_start earlier
befovy Jun 26, 2019
255d47e
add android module ijkplayer-full, update bintray config
befovy Jun 26, 2019
15162cc
publish ijkplayer to bintray.com as fijkplayer
befovy Jun 26, 2019
ed02e9b
add podspec config, publish ad FIJKPlayer
befovy Jun 26, 2019
d9899d3
add android ndk cmake support, debug native c code in android studio
befovy Jun 29, 2019
e08539c
rename module ijkplayer-full to fijkplayer-full
befovy Jul 1, 2019
d954e56
fix xcode build error for armv7
befovy Jul 2, 2019
47256a5
add FIJKPlayer.h to pubulic headers
befovy Jul 3, 2019
b60a480
add IJKCVPBViewProtocol to get pixelBuffer from ijkplayer.
befovy Jul 10, 2019
189da39
add software decode format fcc_bgra
befovy Jul 10, 2019
501b5ff
Merge branch 'fbgl_callback' into develop
befovy Jul 10, 2019
313ea5e
update ff_avpacket_i_or_idr, fix #873
befovy Jul 10, 2019
54ff3bb
update readme
befovy Jul 10, 2019
644b121
update release 0.2.0, add news
befovy Jul 10, 2019
1bcdb41
Merge branch 'releaseb0.2.0'
befovy Jul 10, 2019
ca39a5b
Merge tag 'fb0.2.0' into develop
befovy Jul 10, 2019
72ad8f8
rm xcode code sign
befovy Jul 14, 2019
82c4190
iOS: fix podspec error, change FIJKPlayer build type to static lib
befovy Jul 14, 2019
9e91160
update xcode build and cocoapods settings
befovy Jul 15, 2019
f8dfbf3
update version code
befovy Jul 15, 2019
b1384ce
Merge branch 'release0.3.0'
befovy Jul 15, 2019
95eee0f
Merge tag 'f0.3.0' into develop
befovy Jul 15, 2019
c873efc
update shell of build universal framework
befovy Jul 15, 2019
39d3cde
Merge branch 'release0.3.0'
befovy Jul 15, 2019
9b1625e
Merge tag 'f0.3.0' into develop
befovy Jul 15, 2019
884a415
change state to started when prepared and start-on-prepared is true.
befovy Jul 17, 2019
d11c169
iOS: add int return type for mp API
befovy Jul 17, 2019
80cf01b
iOS: add position API for IJKFFMediaPlayer
befovy Jul 19, 2019
eba747d
android: change msg id same as native, transfer to MediaPlayer in Java
befovy Jul 19, 2019
d62b13a
android demo: change FileExploer default path to ExternalStorage
befovy Jul 19, 2019
7b5e05d
iOS: IJKFFMediaPlayer add setVolume support
befovy Jul 20, 2019
f27b66d
change version to f0.3.1
befovy Jul 20, 2019
322f430
Merge branch 'release0.3.1'
befovy Jul 20, 2019
847e591
Merge tag 'f0.3.1' into develop
befovy Jul 20, 2019
4d02337
export all event to listener. add bintray upload javadoc and sources
befovy Jul 31, 2019
ff2c890
update version code
befovy Jul 31, 2019
3ef75f7
Merge branch 'fbjcenter' into develop
befovy Jul 31, 2019
7619ff8
update news and version
befovy Jul 31, 2019
c6f14d3
Merge branch 'release0.3.2'
befovy Jul 31, 2019
b1daad0
Merge tag 'f0.3.2' into develop
befovy Jul 31, 2019
131eb28
iOS API: add more fijk API, speed loop, getProperty
befovy Aug 16, 2019
91c17c1
ijkplayer: ijkmp_reset update, not recreate player, just wait_stop.
befovy Aug 16, 2019
301ff7e
ijkplayer: msg_queue_abort move to shutdown
befovy Aug 16, 2019
ff900b5
ios: IJKFFMediaPlayer CVPixelBufferCreate then copy overlay pixel to …
befovy Aug 16, 2019
53e56ed
Merge branch 'fbfijk_ios_api' into develop
befovy Aug 16, 2019
9e0d857
update f0.3.3 code and changelog
befovy Aug 16, 2019
2f55858
Merge branch 'release0.3.3'
befovy Aug 16, 2019
e50bb5e
Merge tag 'f0.3.3' into develop
befovy Aug 16, 2019
dc91463
update openssl to OpenSSL_1_0_2r, add rtsp support
befovy Aug 17, 2019
0b87311
update version code to 0.3.4
befovy Aug 17, 2019
2efa853
Merge branch 'fbrstp' into develop
befovy Aug 17, 2019
773404a
Merge branch 'release0.3.4'
befovy Aug 17, 2019
a3f7ebb
Merge tag 'f0.3.4' into develop
befovy Aug 17, 2019
ede27a5
android: remove unused module from android studio
befovy Aug 17, 2019
7f74f96
iOS: IJKFFMediaPlayer remove armv7s support
befovy Aug 17, 2019
1f7e018
ijkplayer: notify error message ans change state error
befovy Aug 23, 2019
0dd4dd7
Merge branch 'release0.3.5'
befovy Aug 23, 2019
04fa55a
Merge tag 'f0.3.5' into develop
befovy Aug 23, 2019
aab16fd
version: update missing version code
befovy Aug 23, 2019
8106498
ffplayer: add ffp_reset. reset and release some inner flag、 field
befovy Aug 29, 2019
ca72042
version: update version to f0.3.6
befovy Aug 29, 2019
58db198
Merge branch 'release0.3.6'
befovy Aug 29, 2019
c460a22
Merge tag 'f0.3.6' into develop
befovy Aug 29, 2019
10e6c1a
ffmpeg module: protocol + concat and crypto
befovy Sep 4, 2019
a75c5fb
release code 0.3.7
befovy Sep 4, 2019
e937093
Merge branch 'release0.3.7'
befovy Sep 4, 2019
2aec64a
Merge tag 'f0.3.7' into develop
befovy Sep 4, 2019
65f32f8
feat: iOS off screen buffer renderer (#7)
befovy Sep 24, 2019
9b6dca2
feat: add FileMediaDataSource StreamDataSource
befovy Sep 24, 2019
0cff1b4
refactor: check more condition to start play
befovy Sep 24, 2019
a0331c7
chore: update NEWS.md, add tag f0.3.8
befovy Sep 24, 2019
6c1f7fc
chore: update release number to f0.3.8
befovy Sep 24, 2019
592f8c7
Merge branch 'release0.3.8'
befovy Sep 24, 2019
585a3f3
Merge tag 'f0.3.8' into develop
befovy Sep 24, 2019
2d258be
chore: add static_framework true for pod spec
befovy Sep 24, 2019
c5ef836
chore: change build name FIJKPlayer.framework to IJKPlayer.framework
befovy Sep 24, 2019
4f781dc
Merge branch 'master' into develop
befovy Oct 24, 2019
0a0d671
add MaxOSX FFmpeg build scripts
befovy Jul 24, 2019
2feb99d
add OSX IJKMediaPlayer XCode project
befovy Jul 24, 2019
bdc662e
osx: add podfile
befovy Jul 31, 2019
13a3881
osx: update Xcode project
befovy Oct 24, 2019
550de1e
osx: IJKPlayer build success, audio played but no video render
befovy Nov 1, 2019
cef0b89
feat: C style API for Mac OS
befovy Nov 3, 2019
180c851
feat: add rgba overlay pixel format
befovy Nov 4, 2019
b2c8955
fix: iOS / Max OS video callback IJKOverlay memset 0
befovy Nov 4, 2019
ed4ec2b
refactor: IJkAudioKit setActive return value and catch exception
befovy Nov 6, 2019
0a51f24
feat: CMake for desktop, WIP
befovy Nov 7, 2019
f87552c
feat: ijkplayer desktop works on Windows
befovy Nov 10, 2019
8da29be
feat: ijkplayer desktop works on Mac OS
befovy Nov 11, 2019
f1b495a
feat: ijkff_get_loop return value
befovy Nov 11, 2019
f8ad2be
feat: add ijkff_log_level and ijkff_version
befovy Nov 11, 2019
6c6c80f
chore: add mac ffmpeg module
befovy Nov 15, 2019
c9f1c71
chore: update news.md
befovy Nov 15, 2019
8ca7a4a
Merge branch 'release0.4.0'
befovy Nov 15, 2019
098e8e2
Merge tag 'f0.4.0' into develop
befovy Nov 15, 2019
f040474
fix: invalid audio channel number for port audio
befovy Nov 16, 2019
1629f87
feat: notify current position option
befovy Nov 16, 2019
b59e93e
chore: release 0.4.1
befovy Nov 16, 2019
8624047
chore: update pod spec
befovy Nov 16, 2019
97c97bf
Merge branch 'release0.4.1'
befovy Nov 16, 2019
4d69353
Merge tag 'f0.4.1' into develop
befovy Nov 16, 2019
38da358
fix: missing import iOS header
befovy Nov 16, 2019
aeecbe3
fix: missing buffering update and position notify
befovy Nov 18, 2019
2b1bc8d
Merge branch 'release0.4.2'
befovy Nov 18, 2019
fe8cea3
Merge tag 'f0.4.2' into develop
befovy Nov 18, 2019
30b8baa
fix: add missing constant
befovy Nov 18, 2019
ff0b935
Merge branch 'release0.4.3'
befovy Nov 18, 2019
bad441b
Merge tag 'f0.4.3' into develop
befovy Nov 18, 2019
35d8cbd
fix: call start with start-on-prepared=0
befovy Nov 22, 2019
fc7e199
feat: add libyuv for desktop to convert images\frames
befovy Nov 26, 2019
3160c76
feat: notify rotate degree for video toolbox
befovy Nov 28, 2019
77bd4a4
chore(release): release f0.4.4
befovy Nov 28, 2019
02eb134
Merge branch 'release0.4.4'
befovy Nov 28, 2019
8ae4ca6
Merge tag 'f0.4.4' into develop
befovy Nov 28, 2019
7dc4c97
refactor(desktop): rename desktop source file
befovy Jan 5, 2020
a8f07a9
refactor(init): move most init scripts into init directory
befovy Jan 5, 2020
eff5083
docs: add build step for Mac OS
befovy Jan 5, 2020
6ba9800
refactor(desktop): rename desktop source file
befovy Jan 5, 2020
ce5066e
refactor(init): move most init scripts into init directory
befovy Jan 5, 2020
d2168ab
docs: add build step for Mac OS
befovy Jan 5, 2020
1efe60f
Merge branch 'master' into develop
befovy Jan 5, 2020
9e2ef17
feat: add start and pause available during async-preparing
befovy Jan 5, 2020
c64d2ab
feat: add option cover_after_prepared, show the first video as cover
befovy Jan 5, 2020
fd80887
chore: release 0.5.0
befovy Jan 6, 2020
12a2a74
Merge branch 'release0.5.0'
befovy Jan 6, 2020
1279707
Merge tag 'f0.5.0' into develop
befovy Jan 6, 2020
f7764b6
feat: add libsrt compile support for Android and mac (#14)
befovy Jan 12, 2020
9e78bbb
docs: update repo url in readme
befovy Jan 12, 2020
1469587
docs: update readme, remove checkout 0.8.8
befovy Jan 12, 2020
48859d7
fix: add consumerProguardFiles fix minify crash, add test sign
befovy Feb 20, 2020
5c3fef0
fix: ios ffmpeg armv7 build error, update ffmpeg to 4.0
befovy Feb 21, 2020
9899c7e
chore(release): version 0.5.1
befovy Feb 21, 2020
805b97a
Merge branch 'release/0.5.1'
befovy Feb 21, 2020
17780ca
Merge branch 'release/0.5.1' into develop
befovy Feb 21, 2020
bddc8c6
chore: add xcode shared schemes
befovy Feb 21, 2020
5e49e7a
chore: rename pod library name
befovy Mar 21, 2020
a7621c6
Merge branch 'master' into develop
befovy Mar 21, 2020
9e3da67
feat: add SDL2 audio and video render, add glfw video render.
befovy Mar 29, 2020
9c8bb61
fix: fix android error after add SDL2 in desktop
befovy Mar 29, 2020
780ab42
fix: fix ios error after SDL2 desktop
befovy Mar 29, 2020
5fd4cac
chore: delete unused android directory link
befovy Mar 29, 2020
228813c
chore: update shell for osx ijkplayer. add new ffmpeg tag
befovy Mar 29, 2020
ae56dee
docs: add osx build guide
befovy Mar 29, 2020
e479d4e
feat: add input process for tui demo
befovy Apr 11, 2020
a9266ee
docs: fix spell typo
befovy Apr 11, 2020
df06a0a
Merge pull request #18 from befovy/feature/glfw
befovy Apr 11, 2020
f284c10
Merge pull request #19 from befovy/develop
befovy Apr 11, 2020
1ab8a60
fix: build warning printf lld and isnan
befovy Apr 11, 2020
95c3d93
chore: release 0.6.0
befovy Apr 11, 2020
a130506
Merge branch 'release/0.6.0'
befovy Apr 11, 2020
f6c863c
Merge branch 'release/0.6.0' into develop
befovy Apr 11, 2020
704b9c0
chore: update podspec url
befovy Apr 11, 2020
b1f924f
feat: add gles ose render for android mediacodec buffers
befovy Apr 19, 2020
d953d1b
Merge pull request #20 from befovy/feature/oes
befovy Apr 19, 2020
16bb3ed
feat: add log level filter for ijklog
befovy Apr 19, 2020
41bc441
Merge pull request #21 from befovy/feature/log_level
befovy Apr 19, 2020
7c64747
feat: add snapshot support
befovy May 3, 2020
501aa9a
fix: error color pixel format bgra and rgba, rv32
befovy May 3, 2020
a79c754
feat: add ijkplayer ios error code
befovy May 3, 2020
3de55d9
Merge pull request #23 from befovy/feature/snapshot
befovy May 3, 2020
45f5c92
fix: remove audio kit audio interrupt handler
befovy May 3, 2020
273f36a
feat: add audioSessionInterrupt handler in IJKFFMediaPlayer
befovy May 3, 2020
ca31d93
Merge pull request #24 from befovy/feature/audiosession
befovy May 3, 2020
4dfc92b
chore: release 0.7.0
befovy May 3, 2020
8bcbe69
Merge branch 'release/0.7.0'
befovy May 3, 2020
66c4425
Merge branch 'release/0.7.0' into develop
befovy May 3, 2020
8f84d16
chore: release 0.7.0
befovy May 3, 2020
83f863c
Merge branch 'master' into develop
befovy May 3, 2020
48e46ce
fix: fix ios crash, use cache pixelbuffer
befovy May 4, 2020
02d9505
chore: release 0.7.1
befovy May 4, 2020
76945bb
Merge branch 'release/0.7.1'
befovy May 4, 2020
68608cc
Merge branch 'release/0.7.1' into develop
befovy May 4, 2020
9b8ac04
feat: add desktop create vout type, add ijksdl_global_init
befovy May 5, 2020
0bf745a
fix: libyuv color pixel convert
befovy May 5, 2020
3d50112
fix: rv32 colorspace convert error
befovy May 5, 2020
31e66c3
chore: release 0.7.2
befovy May 5, 2020
78e4941
Merge branch 'release/0.7.2'
befovy May 5, 2020
b29e2c7
Merge branch 'release/0.7.2' into develop
befovy May 5, 2020
ed97462
feat: support custom "pos-update-interval", min 10 ms, max 1000 ms
im-ling May 9, 2020
811228b
Merge pull request #26 from im-ling/ling_branch
befovy May 9, 2020
75f4116
chore: release 0.7.3
befovy May 9, 2020
75c6d69
Merge branch 'release/0.7.3'
befovy May 9, 2020
ba16e9b
Merge branch 'release/0.7.3' into develop
befovy May 9, 2020
fb1e278
feat: add loglevel for java code
befovy May 10, 2020
f01be15
Merge pull request #27 from befovy/feature/log
befovy May 10, 2020
ef323bb
fix(android): video render failed after call reset
befovy May 10, 2020
6efd38e
Merge pull request #28 from befovy/feature/fix226
befovy May 10, 2020
47e4e5f
chore: release 0.7.4
befovy May 10, 2020
b8f29f8
Merge branch 'release/0.7.4'
befovy May 10, 2020
2e34cb6
Merge branch 'release/0.7.4' into develop
befovy May 10, 2020
f3d27d8
fix: update position with duration value when playback complete
befovy May 16, 2020
09d07ff
Merge pull request #30 from befovy/feature/serial
befovy May 16, 2020
d252733
fix: use cmake configure generate ijkversion.h
befovy May 17, 2020
77d41b9
Merge pull request #31 from befovy/develop
befovy May 17, 2020
39631b0
Fix memory leak
brsun Jun 2, 2020
b896b25
feat: create github actions for android
befovy Jun 27, 2020
56ed19c
feat(android): build with ndk16 and clang
befovy Jun 27, 2020
a1ff759
ci: update android action
befovy Jun 27, 2020
4f91b6a
Merge pull request #38 from befovy/develop
befovy Jun 27, 2020
1ee5bf7
Merge pull request #36 from brsun/master
befovy Jun 27, 2020
c97faa5
feat: add libsrt build support
befovy Jun 27, 2020
70bce38
feat: upload-artifact for android action
befovy Jun 27, 2020
892e8e5
fix: sed -i '' not works on linux
befovy Jun 27, 2020
43b2f52
Merge pull request #39 from befovy/develop
befovy Jun 27, 2020
9972189
ci: update github action caches (#42)
befovy Jun 28, 2020
1f4e3f1
docs: update readme, android build steps (#43)
befovy Jun 29, 2020
3c50841
fix: libsrt lead into c++_shared dependence
befovy Jun 29, 2020
23a9cd1
build: update ios framework name
befovy Jul 3, 2020
9227132
chore: release 0.7.5
befovy Jul 3, 2020
9141880
ci: add android release ci
befovy Jul 3, 2020
6efcef1
ci: add ios release ci
befovy Jul 3, 2020
2858b90
fix: bintray upload load local.properties error
befovy Jul 3, 2020
052418e
ci: ios release upload-release-asset
befovy Jul 3, 2020
1684d84
Merge pull request #46 from befovy/develop
befovy Jul 3, 2020
e77f937
fix: flush audio before toggle eof
befovy Jul 11, 2020
3a518e1
chore: release 0.7.8
befovy Jul 11, 2020
13af3d0
ci: fix tag name, extract tag name
befovy Jul 11, 2020
4d7a4b5
ci: fix the lost bintray files
befovy May 15, 2021
265e62b
fix: remove arm64 in iphone target build binary
befovy May 15, 2021
233887e
chore: release ios 0.7.10
befovy May 15, 2021
e1f7c1e
chore: exclude iphonesimulator arm64
befovy May 15, 2021
db4b838
feat: upgrade ffmpeg tag, support las
befovy May 22, 2021
fe14c20
build: add config to publish to maven center (#63)
befovy Jul 10, 2021
632b390
ci: add android symbols in github release action (#64)
befovy Jul 10, 2021
6a351e9
chore: release version 0.7.12
befovy Jul 10, 2021
b0117e0
ci: extract tag name for release
befovy Jul 10, 2021
999ce73
chore: release f0.7.15
befovy Jul 10, 2021
a559046
build: upload aar artifact to github action (#66)
befovy Jul 23, 2021
04a1f85
fix: mov seek null pointer crash (#71)
befovy Oct 30, 2021
5b93983
chore: release f0.7.16 (#72)
befovy Oct 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Android CI

on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Cache android ndk
uses: actions/cache@v2
with:
path: $ANDROID_HOME/ndk/16.1.4479499
key: ${{ runner.os }}-ndk16.1.4479499

- name: Setup ndk
run: |
yes 2>/dev/null | sudo $ANDROID_HOME/tools/bin/sdkmanager --install "ndk;16.1.4479499" "cmake;3.10.2.4988404"


- name: Cache android extra
uses: actions/cache@v2
with:
path: |
extra/ffmpeg
extra/boringssl
extra/libyuv
extra/soundtouch
key: ${{ runner.os }}-android-extra

- name: Init extra for android
run: |
export ANDROID_NDK=$ANDROID_HOME/ndk/16.1.4479499/
bash init-android.sh
bash init/init-android-boringssl.sh
bash init/init-android-libsrt.sh

- name: Get build cache key
id: build-key
run: |
shasum config/* > checklist.chk
shasum init/* >> checklist.chk
shasum init-android.sh >> checklist.chk
shasum android/contrib/*.sh >> checklist.chk
shasum android/contrib/tools/* >> checklist.chk
BUILD_KEY=`shasum checklist.chk | awk '{print $1}'`
echo "::set-output name=key::${BUILD_KEY}"

- name: Cache ffmpeg build cache
id: cache-ffmpeg-build
uses: actions/cache@v2
with:
path: |
android/contrib/build/output-armv7a
android/contrib/build/output-arm64
android/contrib/build/output-x86
android/contrib/build/output-x86_64
key: ${{ steps.build-key.outputs.key }}

- name: Build ssl and ffmpeg
if: steps.cache-ffmpeg-build.outputs.cache-hit != 'true'
run: |
cd android/contrib
export ANDROID_NDK=$ANDROID_HOME/ndk/16.1.4479499/
bash compile-boringssl.sh all
bash compile-libsrt.sh all
wget --no-check-certificate https://raw.githubusercontent.com/FFmpeg/gas-preprocessor/master/gas-preprocessor.pl
chmod +x gas-preprocessor.pl && sudo mv gas-preprocessor.pl /usr/local/bin/
bash compile-ffmpeg.sh all

- name: Build with Gradle
working-directory: android/ijkplayer
run: |
export ANDROID_NDK=$ANDROID_HOME/ndk/16.1.4479499/
./gradlew build -PIJK_CXX_STL=c++_shared
./gradlew assembleRelease -PIJK_CXX_STL=c++_shared

- name: Upload apk
uses: actions/upload-artifact@v2
with:
name: ijkdemo-release
path: |
android/ijkplayer/ijkplayer-example/build/outputs/apk/release/ijkplayer-example-release.apk
android/ijkplayer/fijkplayer-full/build/outputs/aar/fijkplayer-full-release.aar
70 changes: 70 additions & 0 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Android Release

on:
push:
tags:
- 'f*'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Setup ndk
run: |
yes 2>/dev/null | sudo $ANDROID_HOME/tools/bin/sdkmanager --install "ndk;16.1.4479499" "cmake;3.10.2.4988404"

- name: Init extra for android
run: |
export ANDROID_NDK=$ANDROID_HOME/ndk/16.1.4479499/
bash init-android.sh
bash init/init-android-boringssl.sh
bash init/init-android-libsrt.sh

- name: Build ssl and ffmpeg
run: |
cd android/contrib
export ANDROID_NDK=$ANDROID_HOME/ndk/16.1.4479499/
bash compile-boringssl.sh all
wget --no-check-certificate https://raw.githubusercontent.com/FFmpeg/gas-preprocessor/master/gas-preprocessor.pl
chmod +x gas-preprocessor.pl && sudo mv gas-preprocessor.pl /usr/local/bin/
bash compile-ffmpeg.sh all

- name: Gradle build and publish
working-directory: android/ijkplayer
env:
NEXUS_USERNAME: befovy
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGN_KEYID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGN_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGN_PASSWORD }}
run: |
export ANDROID_NDK=$ANDROID_HOME/ndk/16.1.4479499/
./gradlew build
./gradlew -PNEXUS_PASSWORD=${NEXUS_PASSWORD} :fijkplayer-full:uploadArchives
zip -r Symbols.zip fijkplayer-full/build/intermediates/cmake/release/obj

- name: Extract tag name
id: tag
uses: actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
return context.payload.ref.replace('refs/tags/', '');

- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Release ${{ steps.tag.outputs.result }}
draft: false
artifacts: "./android/ijkplayer/Symbols.zip"
allowUpdates: true
47 changes: 47 additions & 0 deletions .github/workflows/ios_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: iOS Release

on:
push:
tags:
- 'f*'

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2

- name: Init extra for iOS
run: |
bash init-ios-openssl.sh
bash init-ios.sh

- name: Build ssl and ffmpeg
working-directory: ios
run: |
bash compile-openssl.sh all
bash compile-ffmpeg.sh all

- name: XCode build ijkplayer
working-directory: ios/IJKMediaPlayer
run: xcodebuild -project IJKMediaPlayer.xcodeproj -configuration Release -scheme Universal


- name: Extract tag name
id: tag
uses: actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
return context.payload.ref.replace('refs/tags/', '');

- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Release ${{ steps.tag.outputs.result }}
draft: false
artifacts: "./ios/CocoaPodsPub/IJKMediaPlayer.tar.gz"
allowUpdates: true
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ ios/openssl-*
extra
.DS_Store
ijkmedia/ijkyuv/
ijkmedia/ijksoundtouch
ijkmedia/ijksoundtouch/
ijkmedia/portaudio/
ijkprof/android-ndk-profiler/


# built application files
*.apk
*.ap_
Expand All @@ -34,10 +36,14 @@ local.properties
# Android Studio
.idea
.gradle
build/

# Xcode
xcuserdata
xcshareddata
*.xccheckout


# osx
# osx/
cmake-build-debug/
cmake-build-release/
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"search.exclude": {
"**/ijkplayer-arm64/**": true,
"**/ijkplayer-armv5/**": true,
"**/ijkplayer-armv7a/**": true,
"**/ijkplayer-x86/**": true,
"**/ijkplayer-x86_64/**": true,
}
}
Loading