Wraps native platform APIs for performing H.264 encoding and RTP streaming.
npm install com.ant-automation.rtsp-video-streaming.serverrtsp://ip:port`
Build Settings
To build an Unity application add the RGBToNV12 shader to included shaders:
1. Select menu `Edit` > `Project Settings...`
2. Select `Graphics` tab
3. In `Always Included Shaders` section add new element: Video/RGBToNV12
The shader is located in tha `Packages > VideoStreming Server > Shaders`
RunTime Prerequisites
The H264Encoder.dll plugin must be compiled in VS 2015 x64 Release.
The H264Encode has the following dependencies:
In Windows OS:
* ole32.dll (Windows OS)
* KERNEL32.dll (Windows OS)
* MFPlat.DLL (Windows OS)
Visual C++ Redistributable for Visual Studio 2015
* MSVCP140.dll
* VCRUNTIME140.dll
Windows SDK
* api-ms-win-crt-runtime-l1-1-0.dll
* api-ms-win-crt-heap-l1-1-0.dll
$3
#### DUMPBIN
To check the dependencies use the Tool Command Prompt for VS 2019
`
> dumpbin /DEPENDENTS H264Encoder.dll
Microsoft (R) COFF/PE Dumper Version 14.29.30138.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file H264Encoder.dll
File Type: DLL
Image has the following dependencies:
ole32.dll
MSVCP140.dll
MFPlat.DLL
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
KERNEL32.dll
Summary
1000 .data
1000 .pdata
2000 .rdata
1000 .reloc
1000 .rsrc
3000 .text
``