pushinbr/pam-native-video

Adaptive streaming, subtitles and native Media3/AVPlayer playback for PAM Native.

Maintainers

Package info

github.com/push-in/pam-native-video

Language:Kotlin

Type:pam-native-plugin

pkg:composer/pushinbr/pam-native-video

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-08-01 03:52 UTC

This package is auto-updated.

Last update: 2026-08-01 06:10:00 UTC


README

Adaptive HLS/DASH and local video playback through Android Media3 and Apple AVPlayer. Decoder, buffering, controls and progress timing remain native rather than crossing the PHP bridge per frame.

composer require pushinbr/pam-native-video
pam mobile codegen
pam mobile ios:prepare
use Pam\Native\Video\VideoPlayer;
use Pam\Native\Video\VideoResizeMode;

return VideoPlayer::make('https://cdn.example.com/master.m3u8')
    ->autoPlay()
    ->controls()
    ->resizeMode(VideoResizeMode::Cover)
    ->onEvent(function ($kind, array $event): void {});

Features include adaptive HLS/DASH playback, embedded subtitle/audio tracks, native controls, autoplay, looping, mute/volume, deterministic seek commands, configurable progress events and sandboxed local files. Android dependencies are pinned to Media3 1.9.3; iOS uses AVFoundation/AVKit.

Platform support: Android API 26+, iOS 15+, PAM Native 0.6.x.