Returns a gstreamer.Buffer containing the first nbytes of the adapter, but does not flush them from the adapter. See Adapter.takeBuffer for details.
Caller owns a reference to the returned buffer. Buffer.unref after usage.
Free-function: gst_buffer_unref
the number of bytes to get
a gstreamer.Buffer containing the first nbytes of the adapter, or NULL if nbytes bytes are not available. Buffer.unref when no longer needed.
1.6
Returns a gstreamer.Buffer containing the first nbytes of the adapter, but does not flush them from the adapter. See Adapter.takeBuffer for details.
Caller owns a reference to the returned buffer. Buffer.unref after usage.
Free-function: gst_buffer_unref