demo

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command demo is a player app with its own controls, showing how an app drives NSGo Media's core: the core draws the picture, the app everything else.

go tool nsgo dev examples/demo              # pick a file or enter a URL in the app
go run ./examples/demo movie.mkv            # or open one at start
go run ./examples/demo https://…/index.m3u8 # an HLS or DASH stream

On the iOS simulator, from examples/demo, after go run ./tools/ffmpeg -target ios_simulator in the repository's root:

go tool nsgo build -target ios_simulator
go tool nsgo-media bundle dist/*ios_simulator
xcrun simctl install booted "dist/NSGo Media Demo-0.1.0-ios_simulator/NSGo Media Demo.app"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL