摘要 |
An encapsulation method and an apparatus for encapsulating compressed media packet into IP packets. The encapsulating method includes accepting a compressed media data stream that may include null packets. The method further includes identifying any null packets in the accepted stream and the null packets' relative position in the stream, encapsulating the non-null compressed media data packets into a set of IP packets; and adding information to each IP packet sufficient to reconstruct a reconstructed compressed media data stream from the set of IP packets. The reconstructed stream may include null packets that were not present in the set of IP packets. The encapsulating includes discarding at least some of the null packets in the case that the compressed media data stream contains null packets. Also a method and apparatus for determining the timing of packets of compressed media data that are encapsulated by an encapsulation method that includes discarding null packets and including information about such discarding. The timing determining method includes accepting an IP packet encapsulating a subset of compressed media data packets of a compressed media data stream, and ascertaining if the IP packet includes information indicating whether or not null packets have been removed from the compressed media data stream. If such indicating information is included, the method includes determining from the included indicating information the timing of the encapsulated subset of packets and of any null packets that were removed from the section of the compressed media data stream that includes the encapsulated subset of packets.
|