Hi, This is Based on the Wrapper of Erel .
I was in need to use the latest Exoplayer for only one purpose is to play RTMP Streams.
also this Exoplayer Replaces deprecated playerview with StyledPlayerView.
You need this Additional Following AArs to be located in your Additional Libraries Folder in order to use this library.
Version 1.40 required aar.
Additional AAR 2.18.2
Version 1.50 required aar.
Additional AAR 2.18.3
Version 1.60 required aar.
Additional AAR 2.18.4
Version 1.70 required aar.
Additional AAR 2.18.5
Functionality :
DesignerProperties
Requires Appcompat Library
Example is included.
Events :
Upgrade to latest exoplayer 2.18.3
Change Log
Updated Version 1.60
I was in need to use the latest Exoplayer for only one purpose is to play RTMP Streams.
also this Exoplayer Replaces deprecated playerview with StyledPlayerView.
You need this Additional Following AArs to be located in your Additional Libraries Folder in order to use this library.
Version 1.40 required aar.
Additional AAR 2.18.2
Version 1.50 required aar.
Additional AAR 2.18.3
Version 1.60 required aar.
Additional AAR 2.18.4
Version 1.70 required aar.
Additional AAR 2.18.5
Functionality :
- CreateUriSource
- CreateSmoothStreamingSource
- CreateHLSSource
- CreateDashSource
- CreateFileSource
- CreateRtspStreamingSource
- CreateRtmpStreamingSource
- CreateUdpStreamingSource
- CreateListSource
- setReapeatMode
- getIsPlaying
- Prepare
- Play
- Pause
- Release
- getPosition
- setPosition
- getDuration
- getVolume
- setVolume
- getCurrentMediaItemIndex
- GetvideoFormatwidth
- GetvideoFormatHeight
- GetAudioTracksLanguages
- GetVideoTrackSubtitles
- preferedAudioLanguage
- preferedtextLanguage
- EnableSubtitles
DesignerProperties
- SPlayerView
- ResizeMode [FIT|FIXED_HEIGHT|FIXED_WIDTH]
- UseController default is true
- ShowBuffering [NEVER|PLAYING|ALWAYS] default is NEVER
- ControllerTimeout default is 5000
Requires Appcompat Library
Example is included.
Events :
- Player_Ready
- Player_Error
- Player_Complete
- IDLE
- Buffering
- FFMPEG Extension is Supported
- FFmpegavailabe << to check weather ffmpeg is available or not.
- FFMPEG Initialize Choice during initialization Prefer To use FFMPEGAUDIO Decoding only for now
- player.Initialize("player", UseFFmpeg as boolean, FFMPEGAUDIO As boolean, FFmpegVideo As Boolean)
- FFMPEG AUDIO AND VIDEO Decoder
Upgrade to latest exoplayer 2.18.3
Change Log
Updated Version 1.60
- Upgraded to the latest ExoPlayer 2.18.4 > Change Log
- Fixed GetvideoFormatwidth, GetvideoFormatHeight when playing media without video it will return -1 if the media doesn't have video.
- Added Stop method to stop the player.
- Upgraded to the latest ExoPlayer 2.18.5
- Added IDLE EVENT and Buffering Event.
Attachments
Last edited: