├── LICENSE └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Andorid Virtual Camera 2 | This app use the hook technology to replace the images captured by the system camera with video files, 3 | and support screenshot recording and video chat where the camera is used. 4 | [video](https://xnxj.xyz) 5 | 6 | 7 | ## Prerequisite 8 | 1. You need to have a rooted with magisk android 10 or android 11 phone 9 | 2. It does not support emulators, cloud phones, virtual machines,vmos 10 | 11 | 12 | ## Support RTMP with OBS 13 | 1. Refer to this [tutorial](https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmfp-server-using-monaserver.153/) and install the RTMP server on your PC.
14 | 2. Configure OBS with the properties below : 15 | ``` 16 | Streaming Service: Custom 17 | Server: rtmp://127.0.0.1/live 18 | Play Path/Stream Key: test 19 | ``` 20 | 3. If the mobile phone and computer are on the same network.
Open floating window and type RTMP url in mobile phone 21 | ``` 22 | rtmp:///live/test 23 | ``` 24 | 25 | If the mobile phone and computer are not on the same network,You can use adb streaming 26 | ### RTMP with USB cable transmission 27 | 28 | 1. Download [android platform tools](https://developer.android.com/tools/releases/platform-tools) and unzip to c:\adb 29 | 2. Open developer options on your phone and turn on USB debugging 30 | 3. Connect the phone to the computer via usb cable.
31 | *When connecting to the computer for the first time, a dialog box will pop up asking if USB debugging is allowed.please allow it.* 32 | 4. In the c:\adb directory, open the command line and enter the following command 33 | ``` 34 | adb reverse tcp:1935 tcp:1935 35 | ``` 36 | 5. Open floating window and type rtmp://127.0.0.1/live/test 37 | 38 | 39 | ## Download 40 | Please send mail with subject "virtual camera install apk" to mp4vcam@gmail.com to get the installation package. 41 | 42 | 43 | --------------------------------------------------------------------------------