UAVP(Unity Audio Video Player) is cross platform media SDK for unity that based on AVPlayer
Platforms | CPUs | Graphic API |
---|---|---|
OSX | x86, x86_64 | Metal |
iOS | armv7, arm64 | Metal |
- Video Playback(using Metal Graphic API, Unfortunately not supported OpenGL ES)
- Compaatible with Unity Editor(in-editor playback for OSX platforms only)
- Supported main video player events system: Open, Play, Paause, Ended
- Supported main video player features like: Play, Pause, Mute, Loop
Using UAVP is very simple and easy
After the import the UAVP Package, There is UAVP Prefab(Asssets/UAVP/Prefabs). You should use UAVP Prefab in your project.
- Additional Properties
- Auto Play: Start playback automatically after video is buffered
- Loop: When the playback reaches the end position it jumps to the start and plays again
- Mute: Set Audio Mute
- Media Streaming / Local / Asset
- Media Streaming: Set Streaming Media Protocol
- Local: Set Local Video file
- Asset: Set video file which in Streaming Assets Directory
- Material / RawImage
- Media Control UI
- Current Time: Text Field to represent the current media time
- Media TotalTime: Text Field to represent the totaal media time
- Media Seekbar: Seekbar that can control the media
- Event Listeners
- Open Callback Event: Callback Event when Media is Opened
- Play Callback Event: Callback Event when Media is Started
- Pause Callback Event: Callback Event when Media is Paused
- End Callback Event: Callback Event when Media reached the end