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
Update lib version #9
Comments
Hi @deckameron. I have tried to update to 2.9.0 in november, and was able to build module with it, but I couldn't get it work with Titanium because of Java 8:
Ticket in Appcelerators JIRA. |
If you want to try it yourself: git fetch origin
git checkout -b test-2.9.1 origin/test-2.9.1
cd android
ti clean
rm lib/*.aar lib/*.jar
cd ..
./gradlew app:tiBuild |
Thank you @drauggres ! I will give it a try. [EDIT] [ERROR] Failed to compile Java source files:
[ERROR] build
[ERROR] Likely fix is to remove from proxy.propertyAccessors listing, as both getter and setter methods are defined.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:tiBuild'.
> Process 'command 'ti'' finished with non-zero exit value 1 It has something to do with this part of VideoPlayerProxy.java // clang-format off
@Kroll.proxy(creatableInModule = TiExoplayerModule.class, propertyAccessors = {
TiC.PROPERTY_AUTOPLAY,
TiC.PROPERTY_DURATION,
TiC.PROPERTY_END_PLAYBACK_TIME,
TiC.PROPERTY_INITIAL_PLAYBACK_TIME,
TiC.PROPERTY_PLAYABLE_DURATION,
TiC.PROPERTY_REPEAT_MODE,
TiC.PROPERTY_URL,
TiExoplayerModule.PROPERTY_CONTENT_EXTENSION,
TiExoplayerModule.PROPERTY_CONTENT_TYPE,
TiExoplayerModule.PROPERTY_DRM_KEY_REQUEST_PROPERTIES,
TiExoplayerModule.PROPERTY_DRM_LICENSE_URL,
TiExoplayerModule.PROPERTY_DRM_MULTI_SESSION_EXTRA,
TiExoplayerModule.PROPERTY_DRM_SCHEME_UUID_EXTRA,
TiExoplayerModule.PROPERTY_PREFER_EXTENSION_DECODERS,
TiExoplayerModule.PROPERTY_LINEAR_GAIN,
TiExoplayerModule.PROPERTY_SURFACE_TYPE
}) Do you have any ideia how to solve it? |
Sorry, I'm still on 7.4.1. BTW, It would be better if you just add new comments instead of editing (if this is not a typo or something like that). Github doesn't send notifications when comments are modified, only for new ones. |
@deckameron const ExoPlayer = require("ru.netris.mobile.exoplayer");
const videoPlayer = ti_exoplayer.createVideoPlayer({
...
surfaceType: ExoPlayer.SURFACE_TYPE_SPHERICAL_VIEW
}); If you don't have playservices in your app then comment out |
Hi @drauggres [ERROR] /Users/sandrobarnabe/Documents/Modules/ti.exoplayer-test-2.9.6/android/build/intermediates/res/merged/layout/player_view_none.xml:2: error: No resource identifier found for attribute 'surface_type' in package 'ru.netris.mobile.exoplayer'
/Users/sandrobarnabe/Documents/Modules/ti.exoplayer-test-2.9.6/android/build/intermediates/res/merged/layout/player_view_spherical_view.xml:2: error: No resource identifier found for attribute 'surface_type' in package 'ru.netris.mobile.exoplayer'
/Users/sandrobarnabe/Documents/Modules/ti.exoplayer-test-2.9.6/android/build/intermediates/res/merged/layout/player_view_surface_view.xml:2: error: No resource identifier found for attribute 'surface_type' in package 'ru.netris.mobile.exoplayer'
/Users/sandrobarnabe/Documents/Modules/ti.exoplayer-test-2.9.6/android/build/intermediates/res/merged/layout/player_view_texture_view.xml:2: error: No resource identifier found for attribute 'surface_type' in package 'ru.netris.mobile.exoplayer'
[ERROR] Failed to generate R class |
Strange, just built it on different machine. |
Version 3.0.0 released with ExoPlayer v2.9.6 |
Hi @drauggres,
I was looking for way to use 360 videos (surface_type : "spherical_view") and noticed that it is only possible in version 2.9.0. It is now in 2.9.4.
Could you please update it to a newer version? :-)
Thank you!
The text was updated successfully, but these errors were encountered: