public void addAudioPayloadTypes ( final List < PayloadType . Audio > pts ) { synchronized ( payloads ) { Iterator < PayloadType . Audio > ptIter = pts . iterator ( ) ; while ( ptIter . hasNext ( ) ) { PayloadType . Audio pt = ptIter . next ( ) ; addJinglePayloadType ( new JinglePayloadType . Audio ( pt ) ) ; } } }
Adds a list of payloads to the packet .