Esempio n. 1
0
        public override ByteVector Render()
        {
            ByteVector output = new ByteVector();

            output += stream_type.Render();
            output += error_correction_type.Render();
            output += RenderQWord(time_offset);
            output += RenderDWord((uint)type_specific_data.Count);
            output += RenderDWord((uint)error_correction_data.Count);
            output += RenderWord(flags);
            output += RenderDWord(reserved);
            output += type_specific_data;
            output += error_correction_data;

            return(Render(output));
        }
        public override ByteVector Render()
        {
            ByteVector output = new ByteVector();

            output += fileId.Render();
            output += RenderQWord(fileSize);
            output += RenderQWord(creationDate);
            output += RenderQWord(dataPacketsCount);
            output += RenderQWord(playDuration);
            output += RenderQWord(sendDuration);
            output += RenderQWord(preRoll);
            output += RenderDWord(flags);
            output += RenderDWord(minimumDataPacketSize);
            output += RenderDWord(maximumDataPacketSize);
            output += RenderDWord(maximumBitrate);

            return(Render(output));
        }