AppSrc.addOnNeedData

Signal that the source needs more data. In the callback or from another thread you should call push-buffer or end-of-stream.

length is just a hint and when it is set to -1, any number of bytes can be pushed into appsrc.

You can call push-buffer multiple times until the enough-data signal is fired.

class AppSrc
gulong
addOnNeedData
(
void delegate
(
uint
,)
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)