-
Notifications
You must be signed in to change notification settings - Fork 390
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
c823d15
commit cdc8fda
Showing
16 changed files
with
44 additions
and
36 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -8,22 +8,25 @@ | |
#include "trace.h" | ||
#include <stdio.h> | ||
|
||
/* | ||
*本Key为3个月临时授权License,如需商业使用,请邮件至[email protected]咨询商业授权方案。 | ||
*/ | ||
#ifdef _WIN32 | ||
#include "getopt.h" | ||
#define KEY "6A34714D6C3469576B5A754158357059703257674A65784659584E355548567A6147567958305A4A544555755A58686C567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#define KEY "6A36334A743469576B5A73416343645A707469507065746C6432466B5A6D466D646D526E5A6D526E636E4E6B5A6D526E63694E58444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#elif defined _ARM | ||
#define KEY "6A36334A742F2B2B72624B41594C6459703069664A667868636D3158444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define KEY "6A36334A742F2B2B726249416343645A7074695070653168636D317764584E6F5A584A6D5957527A5A6D566D65474F45567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#include "unistd.h" | ||
#include <signal.h> | ||
#else //x86 linux | ||
#include "unistd.h" | ||
#include <signal.h> | ||
#define KEY "6A34714D6C3469576B5A754158357059703257674A66426C59584E356348567A6147567958325A7062475658444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define KEY "6A36334A74354F576B596F416343645A7074695070664E325A47646E656E5A6C5A336836646D4F2B567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#endif | ||
|
||
char* ConfigIP = "127.0.0.1"; //Default EasyDarwin Address 183.220.236.189 | ||
char* ConfigIP = "www.easydarwin.org"; //Default EasyDarwin Address 183.220.236.189 | ||
char* ConfigPort= "554"; //Default EasyDarwin Port121.40.50.44 | ||
char* ConfigName= "easypusher_file.sdp"; //Default RTSP Push StreamName | ||
char* ConfigName= "easypusher_file_linux.sdp"; //Default RTSP Push StreamName | ||
char* ProgName; //Program Name | ||
|
||
int __EasyPusher_Callback(int _id, EASY_PUSH_STATE_T _state, EASY_AV_Frame *_frame, void *_userptr) | ||
|
@@ -100,7 +103,7 @@ int main(int argc, char * argv[]) | |
mediainfo.u32VideoCodec = EASY_SDK_VIDEO_CODEC_H264; | ||
mediainfo.u32VideoFps = 25; | ||
|
||
fES = fopen("./EasyPusher.264", "rb"); | ||
fES = fopen("./EasyDarwin.264", "rb"); | ||
if (NULL == fES) return 0; | ||
|
||
isActivated = EasyPusher_Activate(KEY); | ||
|
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 modified
BIN
-91.1 KB
(96%)
EasyPusher_RTSP/libEasyRTSPClient/Lib/i386/libeasyrtspclient.a
Binary file not shown.
Binary file modified
BIN
-41.5 KB
(98%)
EasyPusher_RTSP/libEasyRTSPClient/Lib/x64/libeasyrtspclient.a
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 |
---|---|---|
|
@@ -7,18 +7,22 @@ | |
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
||
/* | ||
*本Key为3个月临时授权License,如需商业使用,请邮件至[email protected]咨询商业授权方案。 | ||
*/ | ||
#ifdef _WIN32 | ||
#define KEY "6A36334A743469576B5A754142665259707776364A65784659584E355548567A6147567958305A4A544555755A58686C567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#define EasyRTSPClient_KEY "79393674363469576B5A754142665259707776364A65784659584E355548567A6147567958314A55553141755A58686C567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#define KEY "6A36334A743469576B5A73416343645A707469507065746C6432466B5A6D466D646D526E5A6D526E636E4E6B5A6D526E63694E58444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define EasyRTSPClient_KEY "79393674363469576B5A73416343645A707469507065784659584E355548567A6147567958314A55553141755A58686C567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#include "getopt.h" | ||
#elif defined _ARM | ||
#define KEY "6A36334A742F2B2B7262494174504A597077314C7066426C59584E355548567A6147567958325A7062475658444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define EasyRTSPClient_KEY "79393674362F2B2B72624B4142665259707776364A66426C59584E356348567A6147567958334A3063334258444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define KEY "6A36334A742F2B2B726249416343645A7074695070653168636D317764584E6F5A584A6D5957527A5A6D566D65474F45567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#define EasyRTSPClient_KEY "79393674362F2B2B726249416343645A707469507066426C59584E356348567A6147567958334A3063334258444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#include "unistd.h" | ||
#include <signal.h> | ||
#else //x86 linux | ||
#define KEY "6A36334A74354F576B59714142665259707776364A66424659584E355548567A6147567958325A7062475658444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define EasyRTSPClient_KEY "7939367436354F576B596F4174504A597077314C7066426C59584E356348567A6147567958334A3063334258444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define KEY "6A36334A74354F576B596F416343645A7074695070664E325A47646E656E5A6C5A336836646D4F2B567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#define EasyRTSPClient_KEY "7939367436354F576B596F416343645A707469507066426C59584E356348567A6147567958334A3063334258444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#include "unistd.h" | ||
#include <signal.h> | ||
#endif | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,20 @@ | |
#include <stdio.h> | ||
#include <string.h> | ||
#include "EasyPusherAPI.h" | ||
/* | ||
*本Key为3个月临时授权License,如需商业使用,请邮件至[email protected]咨询商业授权方案。 | ||
*/ | ||
#ifdef _WIN32 | ||
#define KEY "6A36334A743469576B5A754142665259707776364A65784659584E355548567A6147567958305A4A544555755A58686C567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#include "getopt.h" | ||
#elif define _ARM | ||
#define KEY "6A36334A742F2B2B7262494174504A597077314C7066426C59584E355548567A6147567958325A7062475658444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#define KEY "6A36334A743469576B5A73416343645A707469507065746C6432466B5A6D466D646D526E5A6D526E636E4E6B5A6D526E63694E58444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#elif defined _ARM | ||
#define KEY "6A36334A742F2B2B726249416343645A7074695070653168636D317764584E6F5A584A6D5957527A5A6D566D65474F45567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#include "unistd.h" | ||
#include <signal.h> | ||
#else //x86 linux | ||
#define KEY "6A36334A74354F576B59714142665259707776364A66424659584E355548567A6147567958325A7062475658444661672F365867523246326157346D516D466962334E68514449774D545A4659584E355247467964326C75564756686257566863336B3D" | ||
#include "unistd.h" | ||
#include <signal.h> | ||
#define KEY "6A36334A74354F576B596F416343645A7074695070664E325A47646E656E5A6C5A336836646D4F2B567778576F502B6C34456468646D6C754A6B4A68596D397A595541794D4445325257467A65555268636E6470626C526C5957316C59584E35" | ||
#endif | ||
#include <stdlib.h> | ||
#include "hi_type.h" | ||
|
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 not shown.
Binary file not shown.