com.codename1.media.package.html Maven / Gradle / Ivy
Video and Audio playback support are handled within this package using the
{@link com.codename1.media.Media} & {@link com.codename1.media.MediaManager} APIs.
Said API's allow for video playback both within a native full screen player and embedded within
an application screen.
Simplified video playback API is also available via the {@link com.codename1.components.MediaPlayer} class.
Capture/recording is handled separately for the most part thru the
{@link com.codename1.capture.Capture} API. However, there is some basic low level recording
functionality within {@link com.codename1.media.MediaManager} as well.
The code below demonstrates capturing and playing back audio files using this API:
The sample code below demonstrates simple video playback.