making media kit server & media_addon_server more resilient to errors
|Reported by:||samui||Owned by:||Barrett|
|Has a Patch:||no||Platform:||All|
Many video playback errors lead to media_addon_server & media server crashes. This is really really bad, i would imagine when we get html5 video on web+, people will have many tabs with different video files open. having one of the embedded players crash should not kill all media on haiku.
Somebody could take a look on media kit & addon server to make it more error proof so zombie connections would be cleaned out after a timeout or something. The currently buggy (21.6.10) mediaplayer is a great tool to test mediakit cause it produces heaps of errors and strange behaviour.
making mediakit to ignore errors, drop frames when necessary and killing dead connections sounds like the order of the day for me anyways.
We also need a way to run mediakit in buggy mode where it would be allowed to crash freely to help debugging.