This is not working yet, and debugging it proves to be near impossible, due to the dav1d decoder being compiled into the discord-voice module, and there's no easy way to increase the logging level.
For those who wants to test, you should prepare a pre-encoded AV1 file with no B-frames, and use stream copying. Real-time encoding performance of libsvtav1 is still not good enough.
Opening draft PR for visibility
This is not working yet, and debugging it proves to be near impossible, due to the dav1d decoder being compiled into the
discord-voice
module, and there's no easy way to increase the logging level.For those who wants to test, you should prepare a pre-encoded AV1 file with no B-frames, and use stream copying. Real-time encoding performance of
libsvtav1
is still not good enough.