Showing posts with label media. Show all posts
Showing posts with label media. Show all posts

YoutubeTV ProGuard rules

YoutubeTV – is an YouTube embedded player library for Android TV.

ProGuard rules for YoutubeTV

Add the following lines to your ProGuard configuration proguard.cfg file in project.

################################## YoutubeTV ###################################
-keep class fr.bmartel.youtubetv.JavascriptInterface { *; }

-keepclassmembers,allowobfuscation class fr.bmartel.youtubetv.JavascriptInterface.** {
    <methods>;
}

For more information about YoutubeTV please see the website.

PictureSelector ProGuard rules

PictureSelector – is a picture selector library for Android.

ProGuard rules for PictureSelector

ProGuard recursively determines which classes and methods are used. All other classes and methods are discarded. Obfuscating code that performs reflection may cause of error. You have to specify the next rules in your ProGuard configuration file.

CWAC-Cam2 ProGuard rules

CWAC-Cam2 – is an effort to create an in-app ACTION_IMAGE_CAPTURE/ACTION_VIDEO_CAPTURE workalike, with a bit more configurability.

You still integrate by opening up a separate activity, but it is all within your own app, rather than relying upon device or user-specific third-party camera apps.

ProGuard rules for CWAC-Cam2

ProGuard obfuscates classes, fields, and methods with short names. Unused classes, attributes, methods and fields will be removed by ProGuard's optimization step. Use the next rules in proguard-rules.pro file to fix errors.

VideoEnabledWebView ProGuard Rules

VideoEnabledWebView – a library for Android that provides WebView and WebChromeClient class extensions that enable fully working HTML5 video support.

ProGuard rules for VideoEnabledWebView

Add the following lines to your ProGuard configuration proguard.cfg file in project.

# VideoEnabledWebView
-keepclassmembers class name.cpr.VideoEnabledWebView$JavascriptInterface { public *; }

For more information about VideoEnabledWebView please see the website.

NiceVieoPlayer ProGuard rules

NiceVieoPlayer – is a library that provides IjkPlayer/MediaPlayer + TextureView, the perfect switch to full-screen and small window of the Android video player.

ProGuard rules for NiceVieoPlayer

Add the following lines to your ProGuard configuration proguard.cfg file in project.

# NiceVieoPlayer 
-keep class tv.danmaku.ijk.media.player.**{*;}

For more information about NiceVieoPlayer please see the website.

RxGalleryFinal ProGuard rules

RxGalleryFinal – is an Android image and video file selector library.

RxGalleryFinal support for multiple, radio, film and cutting, the theme can be custom, no mandatory binding third-party image loader.

ProGuard rules for RxGalleryFinal

ProGuard removes classes, methods, fields and and attributes in the shrinking step. In the obfuscation step, ProGuard renames classes and class members that are not entry points. Add the following rules to configuration file to fix errors.

GSYVideoPlayer ProGuard rules

GSYVideoPlayer – is an Android video player based on ijkplayer with many features.

ProGuard rules for GSYVideoPlayer

ProGuard optimizes the your code and tries remove all unused classes. ProGuard writes out class files named 'a.class', 'b.class', etc. in the obfuscation step. Use the following rules in proguard-rules.pro configuration file.

ijkplayer ProGuard rules

ijkplayer – is an Android video player based on FFmpeg n3.3, with MediaCodec, VideoToolbox support.

ProGuard rules for ijkplayer

ProGuard removes classes, methods, fields and and attributes in the shrinking step. Obfuscating code that performs reflection may cause of error. You have to set up a ProGuard configuration in proguard-rules.pro file.

Static Gson ProGuard rules

Popular ProGuard rules