audio-video
Installation
SKILL.md
Audio and Video in Decentraland
When to Use Which Media Component
| Need | Component | Key Difference |
|---|---|---|
| Sound effect from a file (click, explosion, footstep) | AudioSource |
Local file, spatial, one-shot or looping |
| Background music or radio stream | AudioStream |
External URL, non-spatial, continuous |
| Video on a surface (screen, billboard) | VideoPlayer + Material.Texture.Video |
Requires a mesh to display on |
Decision flow:
- Is it a local audio file? →
AudioSource - Is it a streaming URL (radio, live audio)? →
AudioStream - Is it video content? →
VideoPlayeron a plane/mesh
Audio Source (Sound Effects & Music)
Play audio clips from files: