On 8/28/20 11:21 AM, Derek Lesho wrote:
On 8/28/20 11:10 AM, Zebediah Figura wrote:
Surely it also supports non-container formats, such as mp3?
Would you not classify mp3 as a container format? This page from mozilla seems to https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers .
Calling mp3 a container format seems more than a little weird to me; it's an audio codec which can itself be embedded into other containers. Granted, I'm not sure there's a clear definition of what is and isn't a container...
Either way, I think it's a descriptive name, because it makes clear that it's not a, for instance, screen capture media source, webcam source, microphone source, etc. I'm willing to change it though if you have any better ideas, maybe media_file_stream_handler?
Perhaps I misunderstand the architecture of mfplat, but I was under the impression that a media source can receive a byte stream from any source, not necessarily a file (and, in particular, does in practice receive byte streams from Internet URLs). E.g. if a webcam was insane enough to output muxed audio and video, a media source could even decode that.
A potential name more specific than "stream_handler" could be "winegstreamer_stream_handler".