re-encode the stream for broadcastify