Durtur / Dungeoneer

A virtual tabletop designed for 5e D&D, includes a map tool with dynamic lighting, initiative tracker, combat tracker and homebrew management.
GNU Affero General Public License v3.0
169 stars 16 forks source link

[Feature] Add support for imported sounds #77

Closed Durtur closed 1 year ago

Durtur commented 1 year ago

The online client can only play sounds from the default sound library. It should be able to play sounds from the user defined sounds.

Encode the sound and send it over webrtc in server.js, like the token images.

0x07C0 commented 1 year ago

Could it be a nice addition to allow adding sounds from external sources? For example using a site with Allow-Origin: * to serve mp3 files to the client. (like it's done with ogreforge's docs/client/sounds)

Durtur commented 1 year ago

@0x07C0 that's a good idea

Durtur commented 1 year ago

Implemented for 1.2.2. I'll create a new issue to support external sounds