title: Use image as video stream while recording on media server
body: <p>I'm creating application where user can record voice message, problem is that recorded file is passed to other encoding servers, that requires both video and audio streams to be present.</p>
  
  <p>So my question is how can I use static image to emulate webcam and attach it to NetStream?</p>
  
  <pre><code>ns = new NetStream(nc);
  ns.addEventListener(NetStatusEvent.NET_STATUS, watchRecording);
  
  //ns.attachCamera(cam);
  ns.attachAudio(mic);
  ns.publish(fileName.text, "record");
  </code></pre>
  
  <p>[+]</p>
  
  <p>Although I don't have access to application on WOWZA server I can negotiate with some one to add few lines and recompile it. So server-side solution in java is also an option here.</p>