Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MediaSource does not support ogg audio?

MediaSource.isTypeSupported('audio/ogg; codecs="vorbis"') return false - is it mean that I can not stream ogg as a response from POST?

like image 413
Vitaly Zdanevich Avatar asked Jun 11 '17 10:06

Vitaly Zdanevich


1 Answers

That's exactly what it means. The clients which return false for this condition cannot play this media type (older browsers, unsupported OS or client settings which prevent this).

For streaming OGG file formats you can definitly use Audio.play(); on most modern browsers, but unfortunately the MediaSource element does not support streaming with POST request - you would have to use the classic streaming method, or download the entire source file as a whole and then play it.

like image 116
Koby Douek Avatar answered Nov 15 '22 16:11

Koby Douek