public static interface AppSrc.NEED_DATA
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.
| Modifier and Type | Method and Description |
|---|---|
void |
needData(AppSrc elem,
int size)
Need data signal
|
void needData(AppSrc elem, int size)
elem - the appsrc element that emitted the signalsize - the amount of bytes needed, or -1. This is just a hint.Copyright © 2021 gstreamer-java. All rights reserved.