VitamioBundleStudio | open multimedia framework for Android and iOS
kandi X-RAY | VitamioBundleStudio Summary
kandi X-RAY | VitamioBundleStudio Summary
VitamioBundleStudio
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the icicle
- Set the data source for the specified Uri
- Releases this media player object
- Open media player
- Scan directories
- Perform the postscan operation
- Checks if the given path is in scan directory
- Initialize the audio track
- Create audio track
- Update the subtitle
- Initializes the icicle
- Set the progress of the current player
- Initializes the icicle view
- Downloads a video thumbnail
- Measure view
- Handle a key event
- Returns the magic bit for the given id
- Invoked when the window is created
- Initialize video view
- Handle a key down event
- Save mini - thumb data to file
- Called when the media player is loaded
- Change the video layout
- Region VideoMetadata Implementation
- Get mini - th thumbnail from file
- Calculate all children
VitamioBundleStudio Key Features
VitamioBundleStudio Examples and Code Snippets
Community Discussions
Trending Discussions on VitamioBundleStudio
QUESTION
I am using Vitamio for Android (latest version, 5.2.3, can be found here ). Vitamio uses a slightly modified version of the original Android MediaController-class and my problem is that the mediacontroller(and seekbar) does not show up when tapping on the screen/surfaceview while video is playing. I get this error:
01-04 18:07:54.198 1626-1969/system_process I/WindowManager: Destroying surface Surface(name=PopupWindow:7a167d2) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.WindowManagerService.removeWindow:2300 com.android.server.wm.Session.remove:193
However, it only happens with SDK 24 while earlier and successive SDK versions are fine.
I tried to modify the MediaController-class to use Callbacks instead of Handlers (as the original MediaController Android source) but the result is the same - still not working with SDK 24.
Anybody who knows what the problem can be? I have a suspicion it might be related to the changes mentioned here but I don't fully understand what I need to do.
Any help would be most appreciated.
Here below is my modified MediaController-class:
...ANSWER
Answered 2018-Jan-05 at 21:27Turns out it had nothing to do with SurfaceView, Callbacks, Handlers etc. It was related to Android's PopupWindow which was not working in the same way as in previous versions. There are some posts about this here in the forum, some calling it a bug.
For those Vitamio users who might hit this problem and come here to SO, I resolved by modifying the Show(int timeout) method as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install VitamioBundleStudio
You can use VitamioBundleStudio like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the VitamioBundleStudio component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page