mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-25 05:53:05 +00:00
18 lines
438 B
Java
18 lines
438 B
Java
package com.limelight.nvstream.av.video;
|
|
|
|
import com.limelight.nvstream.av.AvByteBufferDescriptor;
|
|
|
|
public class AvVideoPacket {
|
|
private AvByteBufferDescriptor buffer;
|
|
|
|
public AvVideoPacket(AvByteBufferDescriptor rtpPayload)
|
|
{
|
|
buffer = new AvByteBufferDescriptor(rtpPayload);
|
|
}
|
|
|
|
public AvByteBufferDescriptor getNewPayloadDescriptor()
|
|
{
|
|
return new AvByteBufferDescriptor(buffer.data, buffer.offset+56, buffer.length-56);
|
|
}
|
|
}
|