RemoteCam app
RemoteCam is Graphics tool that is open source under the MIT license.RemoteCam lets you stream your Android device's camera to your desktop. You can use this as a source for OBS, or as a webcam with v4l2.
The app allows a user to choose a sensor and a resolution. From there it captures every frame as JPEG and push them to a connected http client as a MJPEG stream.
The reason the package name is com.samsung.android.scan3d is because Samsung only allow use of the telephoto camera to its own apps. So it is a kind of a cheat to reuse their package name.