public void getPayload ( byte [ ] buff , int offset ) { buffer . position ( FIXED_HEADER_SIZE ) ; buffer . get ( buff , offset , buffer . limit ( ) - FIXED_HEADER_SIZE ) ; }
Reads the data transported by RTP in a packet for example audio samples or compressed video data .