public FLVTag(byte tagType,byte[] frame, byte[] previousFrame, int timeStamp, int width, int height,byte[]src,byte[]dest, bool key, int comp, byte bpp) { this.TagType = tagType; this.TimeStamp = timeStamp; switch (tagType) { case TAGTYPE_VIDEO: DataPacket = new FLVScreenVideoPacket(frame,previousFrame,(ushort)width,(ushort)height,src,dest,key,comp,bpp); break; } }
public FLVTag(byte tagType, byte[] frame, byte[] previousFrame, int timeStamp, int width, int height, byte[] src, byte[] dest, bool key, int comp, byte bpp) { this.TagType = tagType; this.TimeStamp = timeStamp; switch (tagType) { case TAGTYPE_VIDEO: DataPacket = new FLVScreenVideoPacket(frame, previousFrame, (ushort)width, (ushort)height, src, dest, key, comp, bpp); break; } }