Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
        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;
            }
        }