Patent ID: 9721576
Date: 2017-08-01
CPC Classifications: G10L,H04H,H04N

Claim:
1. A method of watermarking a digital media signal, the method comprising: copying compressed audio packets associated with an audio stream included in a transport stream of the digital media signal into respective frames of compressed audio data to be watermarked to include media identification information; determining, by executing an instructions with a processor, whether a composition of the transport stream has changed during copying of the compressed audio packets into the respective frames of the compressed audio data; if the composition of the transport stream has changed, flushing packets that have been held for watermark processing and writing the frames of the compressed audio data to an output stream corresponding to the digital media signal without applying a watermark to the frames of the compressed audio data; resetting, by executing an instruction with the processor, a watermarking state machine being executed by the processor and clearing an associated data table if the composition of the transport stream has changed; and if the composition of the transport stream has not changed, writing the frames of the compressed audio data to the output stream corresponding to the digital media signal after applying the watermark to the frames of the compressed audio data.