[FFmpeg-devel] [PATCH v2 0/6] WebRTC sub-second live streaming support

Michael Niedermayer michael at niedermayer.cc
Wed Nov 15 23:45:49 EET 2023


On Tue, Nov 14, 2023 at 01:59:48PM +0100, Michael Riedl wrote:
> On 11/14/23 11:05, Tomas Härdin wrote:
> > This patchset is missing tests. I know that we for some reason don't
> > really have tests for protocols, but I feel the issue is worthwhile to
> > bring up. I've worked a bit with WebRTC recently and it's fiddly, so
> > it'd be nice to have some automated thing that keeps track of which
> > WebRTC implementations this works with. Or maybe this is better handled
> > with an external project, testing which implementations interoperate?
> 
> 
> I agree that having automated tests would be useful for stability in the future.
> I tested the patchset with both SRS and Millicast, and it worked well.
> 
> For automated testing, we could use FATE, but it needs an extra server with
> protection and someone to keep it updated. Testing with paid services like
> Millicast is tricky.
> 
> Another option is an external project for WebRTC testing, but the challenge is
> keeping it maintained and compatible with changes in implementations.
> 
> External services might update their software, causing issues with tests. We
> would need a plan for dealing with that.
> 
> For paid services like Millicast, we need to figure out who pays for the tests.
> Understanding the costs is essential if we want to use paid services for
> testing.
> 
> I'd like to hear your thoughts on these points and how you would propose to
> proceed with adding tests for protocols like WebRTC.

simple, add server support for this to FFmpeg.

FATE is run in cases without network access (for example googles ossfuzz setup
i belives does not permit the fuzzed code to access external things IIRC)

The practice of implementing only one end of a protocol is honestly wrong.
And if there is no usable free server, then even more so.

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231115/4ed3bed1/attachment.sig>


More information about the ffmpeg-devel mailing list