Add support for stream audio encoding, with python callback