예제 #1
0
파일: FLVTag.cs 프로젝트: tdhieu/openvss
        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;
            }
        }
예제 #2
0
파일: FLVTag.cs 프로젝트: tmpkus/openvss
        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;
            }
        }