SET_PACKET_CALLBACK_REQUEST.
void (*invoke) (
void *user_data,
unsigned char const *packet_ptr,
opus_int32 packet_len,
opus_uint32 flags
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static OPEPacketFunc | Returns: the newOPEPacketFuncCreates a |
| public static OPEPacketFunc | create(OPEPacketFuncI instance)
Creates a |
| public static OPEPacketFunc |
| OPEPacketFunc | back to summary |
|---|---|
| protected OPEPacketFunc() | |
| OPEPacketFunc | back to summary |
|---|---|
| pack-priv OPEPacketFunc(long functionPointer) | |
| create | back to summary |
|---|---|
| public static OPEPacketFunc create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static OPEPacketFunc create(OPEPacketFuncI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static OPEPacketFunc createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final OPEPacketFuncI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
user-defined data passed to the callback user_data, long packet data packet_ptr, int number of bytes in the packet packet_len, int optional flags (none defined for now so zero) flags)Implements org. |
| delegate | back to summary |
|---|---|
| private final OPEPacketFuncI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, OPEPacketFuncI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long user_data, long packet_ptr, int packet_len, int flags) Implements org. Doc from org. Called on every packet encoded (including header).
| |