Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sound streaming example

Also see Sound Streaming Manual

This example shows how to stream sounds from either the archive (the base game bundle) or the web.

For supporting loading from the web, start a web server where the files uner the web folder is available.

E.g. starting a local server: Note: For full features, the serer should support:

  • Ranged requests (i.e. returning 206)
  • ETag (i.e. returning 304)

macOS - install:

$ brew install http-server

macOS - run:

$ (cd sounds && http-server -p 8000)

You can of course also change the url in main.script, to something of your choosing (defaults to http://localhost:8000)

Credits:

About

Examples of how to stream sounds and music

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors