主权项 |
1. A method for accelerating the start of display of an interleaved audio-video data, the method comprising:
in a server for providing interleaved audio-video data to a decoder, the server configured to be communicatively coupled to an Internet Protocol (IP) network, receiving a command to switch the decoder to receiving a stream in progress, comprising a single stream of multiplexed data in which audio and video data are interleaved; in the server, responsively to the command, collecting audio and video data of the stream in progress; in the server, generating a modified single stream of interleaved audio and video data, the modified stream comprising audio and video access units of the collected data of the stream in progress, wherein a plurality of the access units are repositioned in the modified single stream of interleaved audio and video data such that an audio access unit and a video access unit that correlate in time to one another are positioned closer to one another in the modified single stream than in the stream in progress, the generating of the modified single stream further comprising discarding collected audio access units which correspond to video access units that were transmitted earlier than a beginning of the modified single stream; and providing the modified single stream from the server, rather than the stream in progress, to the decoder via the IP network. |