Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.
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

Description

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions