Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Validate that the sound being played is actually an MP3 #2

Open
erunion opened this issue Jan 16, 2014 · 0 comments
Open

Validate that the sound being played is actually an MP3 #2

erunion opened this issue Jan 16, 2014 · 0 comments

Comments

@erunion
Copy link
Member

erunion commented Jan 16, 2014

As it is it might be possible to mask a bad file as an .mp3, so we should be doing some sort of validation on the /play endpoint to verify what we're going to broadcast to the socket is valid.

How to actually validate that it is a valid MP3 or not is up in the air. And if we can get around it (headers? I'm not sure), we'd also want to avoid the time, and bandwidth, consuming part of it by not downloading the MP3 to the server running soundspaces.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant