title: Dump WebRTC stream to a file
body: <p>I'd like to capture the audio and video from a WebRTC stream to a file or pair of files, if audio and video require their own individual files. The audio and video are not muxed together and are known to be available on a set of server udp ports:</p>
  
  <pre>
  Port   Encoding
  5000 - VP8 video
  5001 - RTCP (for video)
  5002 - Opus audio @48kHz 2 channels
  5003 - RTCP (for audio)
  </pre>
  
  <p>The SDP file / data is not available and DTLS may be used.</p>
  
  <p>I would prefer to use avconv or ffmpeg to capture the stream, unless a better tool is suggested.</p>
  
  <p><strong>Edit:</strong> I've found that this as inquired will most likely not work. Until I hear otherwise, none of these tools support the initial DTLS handshake followed by the data transmission via SRTP.</p>