摘要 |
An apparatus and method to generate and restore an RTP (Real-Time Transmission Protocol) packet. A setting unit assigns a CTS (Composition TimeStamp), a DTS (Decoding TimeStamp), and a PSN (Packet Sequence Number) that sequentially increase according to a packet generation order for each of a plurality of SL (Synchronization Layer) packets, extracting a time stamp length and a packet sequence number length from an SLCD (SL Configuration Descriptor) within each SL packet. A packet generating unit generates a header of the SL packet accommodated in an RTP packet header and the RTP packet based on the CTS, the DTS, the PSN, the time stamp length and the packet sequence number length. Since only difference values in the CTS, the DTS, and the PSN information between a previous SL packet and the present SL packet, are recorded, a number of bits can be reduced if the CTS value rolls over and a multiple SL packet can be made for the SL packet having a time stamp length greater than 32 bits. Also, a condition that a DTS delta value should always be a positive number is met. |