-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7590343
commit 4d6c0da
Showing
20 changed files
with
635 additions
and
71 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+248 KB
win32/EasyPlayerWebActiveX/libEasyPlayer/EasyRTSPClient/libEasyRTSPClient.dll
Binary file not shown.
Binary file modified
BIN
+1.42 KB
(150%)
win32/EasyPlayerWebActiveX/libEasyPlayer/EasyRTSPClient/libEasyRTSPClient.lib
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
Author: [email protected] | ||
*/ | ||
|
||
|
||
|
||
#ifndef __LIB_EASY_PLAYER_API_H__ | ||
#define __LIB_EASY_PLAYER_API_H__ | ||
|
||
|
@@ -32,16 +30,13 @@ typedef enum __RENDER_FORMAT | |
DISPLAY_FORMAT_RGB24_GDI= 26 | ||
}RENDER_FORMAT; | ||
|
||
|
||
|
||
typedef int (CALLBACK *MediaSourceCallBack)( int _channelId, int *_channelPtr, int _frameType, char *pBuf, RTSP_FRAME_INFO* _frameInfo); | ||
|
||
|
||
LIB_EASYPLAYER_API int EasyPlayer_Init(); | ||
LIB_EASYPLAYER_API void EasyPlayer_Release(); | ||
|
||
|
||
LIB_EASYPLAYER_API int EasyPlayer_OpenStream(const char *url, HWND hWnd, RENDER_FORMAT renderFormat, int rtpovertcp, const char *username, const char *password, MediaSourceCallBack callback=NULL, void *userPtr=NULL, bool bHardDecode=true); | ||
LIB_EASYPLAYER_API int EasyPlayer_OpenStream(const char *url, HWND hWnd, RENDER_FORMAT renderFormat, | ||
int rtpovertcp, const char *username, const char *password, MediaSourceCallBack callback=NULL, void *userPtr=NULL, bool bHardDecode=true); | ||
LIB_EASYPLAYER_API void EasyPlayer_CloseStream(int channelId); | ||
LIB_EASYPLAYER_API int EasyPlayer_SetFrameCache(int channelId, int cache); | ||
LIB_EASYPLAYER_API int EasyPlayer_SetShownToScale(int channelId, int shownToScale); | ||
|
@@ -59,7 +54,10 @@ LIB_EASYPLAYER_API int EasyPlayer_StopManuRecording(int channelId); | |
LIB_EASYPLAYER_API int EasyPlayer_PlaySound(int channelId); | ||
LIB_EASYPLAYER_API int EasyPlayer_StopSound(); | ||
|
||
LIB_EASYPLAYER_API int EasyPlayer_SetManuRecordPath(int channelId, const char* recordPath); | ||
LIB_EASYPLAYER_API int EasyPlayer_SetManuPicShotPath(int channelId, const char* shotPath); | ||
|
||
|
||
LIB_EASYPLAYER_API int EasyPlayer_StartManuPicShot(int channelId);//pThread->manuScreenshot | ||
LIB_EASYPLAYER_API int EasyPlayer_StopManuPicShot(int channelId); | ||
|
||
#endif |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
cd ./ | ||
regsvr32 EasyPlayerWebActiveX.ocx |
Oops, something went wrong.