public class FLVTag extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FLVTag.AacAudioTagHeader |
static class |
FLVTag.AudioTagHeader |
static class |
FLVTag.AvcVideoTagHeader |
static class |
FLVTag.TagHeader |
static class |
FLVTag.Type |
static class |
FLVTag.VideoTagHeader |
Constructor and Description |
---|
FLVTag(FLVTag.Type type,
long position,
FLVTag.TagHeader tagHeader,
int pts,
ByteBuffer data,
boolean keyFrame,
long frameNo,
int streamId,
int prevPacketSize) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getData() |
long |
getFrameNo() |
long |
getPosition() |
int |
getPrevPacketSize() |
int |
getPts() |
double |
getPtsD() |
int |
getStreamId() |
FLVTag.TagHeader |
getTagHeader() |
FLVTag.Type |
getType() |
boolean |
isKeyFrame() |
void |
setPrevPacketSize(int prevPacketSize) |
void |
setPts(int pts) |
void |
setStreamId(int streamId) |
public FLVTag(FLVTag.Type type, long position, FLVTag.TagHeader tagHeader, int pts, ByteBuffer data, boolean keyFrame, long frameNo, int streamId, int prevPacketSize)
public FLVTag.Type getType()
public long getPosition()
public FLVTag.TagHeader getTagHeader()
public int getPts()
public void setPts(int pts)
public int getStreamId()
public void setStreamId(int streamId)
public int getPrevPacketSize()
public void setPrevPacketSize(int prevPacketSize)
public ByteBuffer getData()
public double getPtsD()
public boolean isKeyFrame()
public long getFrameNo()
Copyright © 2019. All rights reserved.