Last modified: 2008-05-02 08:59:35 UTC
right now cortado only check for application/ogg and fails for ogg/video or application/annodex, it should also try to decode those.
attached a patch to check for those mime-types too.
Attachment doesn't seem to have made it.
Created attachment 4853 [details]
If we're to believe http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions we should probably toss in audio/ogg as well.
Comments in Cortado source seem to indicate that annodex streams aren't really supported properly as well, so perhaps we should *not* add those types?
What's the point of this?
I'll make myself a bit more clear: the MIME type should always come from OggDemux.getMime(), and is always application/ogg. It doesn't come from the webserver. If OggDemux.typeFind() is not recognising the header, then maybe it will then try to use the content type from the webserver, and give you a confusing error about type mismatch. Is this the problem? If so, the bug is the error handling, not the MIME type list. If the signature is invalid, it should tell you so, and refuse to play the file.
indeed, i got an error message video/ogg not supported than changed that in the source and it worked,
removing it again now it also works so the error must have been something else.