This is a Unity 3D package for live video streaming using RTP and the server here includes RTSP server which wraps native platform APIs for performing H.264 encoding and RTP streaming.
- Replace
Packages
folder in your Unity 3D project to the one in this folder, which namely means that you should add this folder and other two packages as dependencies in yourPackages/manifest.json
file. - Place
VideoStreamingServerPackages
folder into your Unity 3D project's root folder in order to make the path described inmanifest.json
the same as in real path, otherwise you should change the path described inmanifest.json
file. - Use it as you want. The native C++ file is in
Native~
folder and you can even redevelop it yourself. - The main script is
VideoStreamingServer
and you can use it as a component.
Alexander Ezharjan
9th Sep, 2020