All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codename1.media.package.html Maven / Gradle / Ivy

There is a newer version: 7.0.161
Show newest version



  
    
  
    
        

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:

Captured recordings in the demo

The sample code below demonstrates simple video playback.

Media player sample




© 2015 - 2024 Weber Informatics LLC | Privacy Policy