public class PtrMediaBuffer extends Object implements IMediaBuffer
| Constructor and Description |
|---|
PtrMediaBuffer(long ptr)
Initializes a new managed IMediaBuffer which is to represent a
specific unmanaged IMediaBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
GetLength() |
int |
GetMaxLength() |
int |
pop(byte[] buffer,
int offset,
int length) |
int |
push(byte[] buffer,
int offset,
int length) |
int |
Release() |
void |
SetLength(int length) |
public PtrMediaBuffer(long ptr)
ptr - the unmanaged IMediaBuffer to be represented by the
new instancepublic int GetLength()
throws IOException
GetLength in interface IMediaBufferIOExceptionpublic int GetMaxLength()
throws IOException
GetMaxLength in interface IMediaBufferIOExceptionpublic int pop(byte[] buffer,
int offset,
int length)
throws IOException
pop in interface IMediaBufferIOExceptionpublic int push(byte[] buffer,
int offset,
int length)
throws IOException
push in interface IMediaBufferIOExceptionpublic int Release()
Release in interface IMediaBufferpublic void SetLength(int length)
throws IOException
SetLength in interface IMediaBufferIOExceptionCopyright © 2022 jitsi.org. All rights reserved.