title: Quickblox Android SDK- how to extract remote video/audio and stream various local sources?
body: <p>Official quickblox  documentation is very limited in any details for working with local/remote  media streams. I could not find any example /documentation on :</p>
  
  <ol>
  <li><p>how to extract remote media stream  from the session in order to work with the streamed remote video and audio tracks. I would like to extract the video/frames and audio from the session (the opponent remote stream) to further process (save image, or record the stream data)</p></li>
  <li><p>how to change the source for the local stream from mic/camera to e.g. a stored video or various streams. I would like to send for example  a pre-recorder message or video in case of busy opponent.</p></li>
  </ol>
  
  <p>Any idea, if it can be done by extending any of the Quickblox libraries/classes, as it seems there is no public built in direct method or support for working with the streams?</p>
  
  <p><a href="http://quickblox.com/developers/Sample-webrtc-android" rel="nofollow">The official doc for the WebRtc video calls</a></p>