title: Live555 How Client Decode Audio Data
body: <p>I am trying to receive an rtsp audio stream via live555 lib from local network and write it to a wav file. Therefore I wrote an data sink class derived from MediaSink class, like done in the example 'testRTSPClient'. The connection is successfully established, but I don't know how to decode the data.</p>
  
  <p>The format is 'L16', which should be uncompressed pcm data. I noticed that I can get details for writing my wav header from sdp description (2 channels, 44100 frequeny,...).</p>
  
  <p>But which format has the data? How can I get my two channel data for writing to my wav file? With each iteration I receive a buffer of type uchar* with size 1400, which should be passed to a decoder.</p>
  
  <p>Does someone has an idea about that?</p>