media
media copied to clipboard
Extend Player error API
Currently the PlayerError enum in gstreamer-rs is just a stub. We could extend it with the errors that we care about based on our uses cases.
This issue will have one part to update gstreamer-rs and another part to make servo-media use the new set of errors.
And another part to add those errors to GstPlayer itself.
Currently it has this useless pokemon error interface because I didn't spend any time yet to design a proper interface. Someone would have to sit down and think about the errors that are useful to distinguish programmatically, and I think a web browser and the kinds of errors that the web specs include would be a good starting point for that.