# Custom video source (video generated by code)?

**URL:** <https://react-native-webrtc.discourse.group/t/custom-video-source-video-generated-by-code/726>\
**Category:** Help\
**Created:** [May 28, 2020, 7:38am UTC](https://react-native-webrtc.discourse.group/t/custom-video-source-video-generated-by-code/726 "2020-05-28T07:38:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tom](https://react-native-webrtc.discourse.group/u/tom)\
**Post date:** [May 28, 2020, 7:38am UTC](https://react-native-webrtc.discourse.group/t/custom-video-source-video-generated-by-code/726/1 "2020-05-28T07:38:52Z")

</div>

Hi thanks for the wonderful library! I wonder how can I use a custom video source? For simplicity, just consider the custom source as one generated by some code.

Thanks very much!
