I use avplay in webapis.
but avplay doesn’t change state after calling prepare api.
my code…
webapis.avplay.open("url") // console show me "success"
... set blahblah
webapis.avplay.prepare() // console show me "success"
webapis.avplay.getState() // IDLE
webapis.avplay.play() // ERROR
no error during preparing but can not play video.
what happned?
Since no one responded, I would suggest you look for an answer in the FAQ-Q/A under the most appropriate topic on the Smart TV Seller Office site If you don’t find a solution there then sign in and open a Smart TV Seller Support Request . They can help you better there.
Ron
Samsung Developer Relations
I’m having this same issue, did you ever get it figured out?
make sure the http response’s content-type header is correctly the one for dash, hls, etc.
avplay cant handle if it is incorrect such as application/octet-stream