Ijkplayer: can't stream https on ios

Created on 25 Mar 2016  ·  14Comments  ·  Source: bilibili/ijkplayer

i've compiled the project with openssl, Allow Arbitrary Loads is enabled

need-more-information

Most helpful comment

I solved it.

1 ) ./init-ios-openssl.sh //_I did missed this step_
2 ) ./init-ios.sh

then cd ios

3.1) ./compile-openssl.sh clean //_if u did compiled before_
3.2) ./compile-ffmpeg.sh clean //_if u did compiled before_
4.1) ./compile-openssl.sh all
4.2) ./compile-ffmpeg.sh all

Done 💃
Hope it useful for u :)

All 14 comments

postolaki +

I've run following commands: ./init-ios.sh; ./compile-ffmpeg.sh clean; ./compile-ffmpeg.sh all; ./compile-openssl.sh clean; ./compile-openssl.sh all. But i get "https protocol not found, recompile FFmpeg with openssl, gnutls,
or securetransport enabled.".

You need to build OpenSSL first.

You mean first "./compile-openssl.sh"? I've built but the same error.

OpenSSL should be built before FFmpeg, so FFmpeg could detect OpenSSL, and link it.
That's to say, after you build OpenSSL, run "sh compile-ffmpeg.sh clean", and rebuild FFmpeg.

i have the same problem.
i build OpenSSL first, then build FFmpeg
also get "https protocol not found, recompile FFmpeg with openssl, gnutls,
or securetransport enabled.".

solved

patzhangjiwang how solved?

@patzhangjiwang
Can you show the step you solved this problem?
I have the same problem here in ios.

I solved it.

1 ) ./init-ios-openssl.sh //_I did missed this step_
2 ) ./init-ios.sh

then cd ios

3.1) ./compile-openssl.sh clean //_if u did compiled before_
3.2) ./compile-ffmpeg.sh clean //_if u did compiled before_
4.1) ./compile-openssl.sh all
4.2) ./compile-ffmpeg.sh all

Done 💃
Hope it useful for u :)

Thanks!

在 2016-12-23 19:01:30,"ttmdung203" notifications@github.com 写道:

I solved it.

1 ) ./init-ios-openssl.sh
2 ) ./init-ios.sh

then cd ios

3.1) ./compile-openssl.sh clean //if u did compiled before
3.2) ./compile-ffmpeg.sh clean //if u did compiled before
4.1) ./compile-openssl.sh all
4.2) ./compile-ffmpeg.sh all

Done 💃
Hope it useful for u :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I got this error after did @ttmdung203 steps

dyld: Library not loaded: @rpath/IJKMediaFrameworkWithSSL.framework/IJKMediaFrameworkWithSSL
Referenced from: /var/containers/Bundle/Application/56D9872F-C86C-4961-A66F-C08718636D1F/IJKMediaDemo.app/IJKMediaDemo
Reason: image not found

How do you fix it? @isurukej

fix:

build settings -> linking ->runpath search path

add:

@executable_path/Frameworks

Was this page helpful?
0 / 5 - 0 ratings