title: Panasonic Camera Streaming MJPEG Video with G.726 Audio
body: <p>I'm finding out panasonic camera. I want to get audio data from this and try to play it. I sent a command to camera and receiced a stream data as following:</p>
  
  <pre><code>HTTP/1.0 200 OK
  Content-type: multipart/x-mixed-replace;boundary=--myboundary
  --myboundary
  Content-type: audio/g726
  ...binary data...
  </code></pre>
  
  <p>I have searched some open sources on internet to decode the stream data but actually i don't know the data encoded by this camera using u/a/l law, 2/3/4 bits, rigt/left packed these parameter neccessary to decode exactly. Does anyone know please tell me? Is there any format for g726?</p>
  
  <p>Assume that I decoded successfully. Could you give me a piece of code written by C/C++ how to play the data after decoding. I mean that I want to hear the audio data which get from camera on my PC.</p>