| | |
| | | #include "RtspNativeCodecJNIClient.h"
|
| | |
|
| | | RemoteServer<RtspFaceDetectImpl> remoteServer("127.0.0.1", 8111);
|
| | | static RtspFaceViewClient* rtspFaceViewClient = nullptr;
|
| | |
|
| | | void startRemoteServer()
|
| | | {
|
| | | remoteServer.start();
|
| | | }
|
| | |
|
| | | RtspFaceViewClient rtspFaceViewClient;
|
| | |
|
| | | RtspFaceViewClient &RtspFaceViewClient()
|
| | | RtspFaceViewClient* getRtspFaceViewClient()
|
| | | {
|
| | | if (rtspFaceViewClient != nullptr)
|
| | | {
|
| | | try
|
| | | {
|
| | | rtspFaceViewClient = new RtspFaceViewClient;
|
| | | }
|
| | | catch(...)
|
| | | {
|
| | | delete rtspFaceViewClient;
|
| | | rtspFaceViewClient = nullptr;
|
| | | LOG_ERROR << "aaaaaaaa"<<LOG_ENDL;//#todo
|
| | | }
|
| | | }
|
| | | return rtspFaceViewClient;
|
| | | }
|
| | |
|