title: Custom VideoSource for JS WebRTC running in the WebView of Android/iOS devices?
body: <p>We want to use a custom video source instead of normal sources like cameras for WebRTC. There <a href="https://stackoverflow.com/questions/49493923/how-to-custom-webrtc-video-source">do</a> <a href="https://stackoverflow.com/questions/61160558/custom-video-source-for-webrtc-on-android">exist</a> <a href="https://stackoverflow.com/questions/23654425/create-a-webrtc-videotrack-with-a-custom-capturer-on-android-with-libjingle">solutions</a> if using WebRTC library on <em>native</em> Android/iOS code. However, our environment is different: </p>
  
  <p>We have a native Android/iOS app. The app has a WebView (or, if you want, have a JavaScriptCore engine or anything else), and many JavaScript code is running inside it. The js code (<em>not</em> the native code) is using WebRTC, and we want <em>this</em> to have a custom video source.</p>
  
  <p>Thanks very much for and ideas!</p>