baseaudiopayload: refactor to let subclasses prepare the output buffer
@meh
Submitted by Mathieu Duponchelle Link to original bug (#794545)
Description
The default implementation wraps the payload in a newly-allocated RTP
buffer. Subclasses may want to use alternative methods.