MediaSource.isTypeSupported('audio/ogg; codecs="vorbis"')
return false
- is it mean that I can not stream ogg as a response from POST?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With