media icon indicating copy to clipboard operation
media copied to clipboard

Extend Player error API

Open ferjm opened this issue 6 years ago • 1 comments

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.

ferjm avatar Nov 30 '18 14:11 ferjm

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.

sdroege avatar Nov 30 '18 14:11 sdroege