[haiku-inc] Re: Contract Proposal: Streaming Support and Media Kit Development

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-inc@xxxxxxxxxxxxx
  • Date: Sun, 28 Feb 2016 13:18:42 +0100

On 02/26/2016 08:51 PM, Dario Casalinuovo wrote:

Implement Streaming Support for the media_kit (#10119)

* Solve the problems related to the plugin manager and provide a wrapped
BDataIO that is enough smart to buffer the data used for plugins sniffing.
* Investigate BFileInterface and see what should be changed to make it
work over streaming.
* Investigate BMediaFile limitations and the possibility to have media
plugins automatically support streaming, ffmpeg has support for it.

Sounds good.

* Improve media kit latency system investigating the introduction of the
notion of min/max latencies (relates #7285). This is needed as our
currently latency management isn't probably enough adequate to support
best effort services from the internet.

Given the past discussions about this topic, I'm not sure if we're all on the same page regarding those. I would rather like to leave this out at first, and discuss this - in detail - with our other developers, and only if a consensus can be found, implement that one.

[...]
* The game_kit is using a custom audio producer, it should use
BSoundPlayer or BMediaClient.

Would anything change regarding the output, and configuration options? Ie. would there still be a single output channel?

* MediaPlayer can take advantage of it to reduce the code base.

The MediaPlayer does a lot more than it has to, but so far, AFAIU stippi wasn't really keen pursuing this, so I think we should get his green light on your plans first.

Depending on how much time fixing the previous tasks will take, I'm
planning to work eventually on the following points:

* Introduce and finalize the new MediaPlayer plugin API
* Add id3 tags support (#9525, ArmyKnife as plugin?)
* Work towards more stability for the media_server (#6220)

How about adding embedded subtitle support, too? [1]

I will appreciate if it's possible to have the final decision made
before Monday.

That'll be tough given our previous track record, but with the restrictions mentioned above, you'd have my +1.

Bye,
   Axel.

[1] https://dev.haiku-os.org/ticket/11222


Other related posts: