Skip to content

Commit

Permalink
修改默认服务器
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlong0813 committed May 18, 2017
1 parent b9b9d97 commit c823d15
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions EasyPusher_File/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ using namespace std;
#include <signal.h>
#endif

char* ConfigIP = "114.55.107.180"; //Default EasyDarwin Address
char* ConfigPort = "10554"; //Default EasyDarwin Port
char* ConfigIP = "www.easydarwin.org"; //Default EasyDarwin Address
char* ConfigPort = "554"; //Default EasyDarwin Port
char* ConfigName= "easypusher_file.sdp"; //Default RTSP Push StreamName
char* ProgName; //Program Name

Expand Down
6 changes: 3 additions & 3 deletions EasyPusher_RTSP/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#include "EasyPusherAPI.h"
#include "EasyRTSPClientAPI.h"

char* ConfigIP = "114.55.107.180"; //Default EasyDarwin Address
char* ConfigPort = "10554"; //Default EasyDarwin Port
char* ConfigIP = "www.easydarwin.org"; //Default EasyDarwin Address
char* ConfigPort = "554"; //Default EasyDarwin Port
char* ConfigName = "easypusher_rtsp.sdp";//Default Stream Name
char* ConfigRTSPURL = "rtsp://admin:[email protected].2.100/22"; //RTSP Source URL(With username:password@)
char* ConfigRTSPURL = "rtsp://admin:[email protected].66.222/22"; //RTSP Source URL(With username:password@)
char* ProgName; //Program Name

Easy_Pusher_Handle fPusherHandle = 0; //libEasyPusher Handle
Expand Down
4 changes: 2 additions & 2 deletions EasyPusher_SDK/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "hi_net_dev_sdk.h"
#include "hi_net_dev_errors.h"

char* ConfigIP = "114.55.107.180"; //Default EasyDarwin Address
char* ConfigPort = "10554"; //Default EasyDarwin Port
char* ConfigIP = "www.easydarwin.org"; //Default EasyDarwin Address
char* ConfigPort = "554"; //Default EasyDarwin Port
char* ConfigName = "easypusher_sdk.sdp";//Default Push StreamName
char* ConfigUName = "admin"; //SDK UserName
char* ConfigPWD = "admin"; //SDK Password
Expand Down
2 changes: 1 addition & 1 deletion EasyPusher_Win/EasyPusher/DlgPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ BOOL CDlgPanel::OnInitDialog()
}
if (m_pEdtServerIP)
{
m_pEdtServerIP->SetWindowTextW(TEXT("114.55.107.180"));
m_pEdtServerIP->SetWindowTextW(TEXT("www.easydarwin.org"));
}
if (m_pEdtServerPort)
{
Expand Down
4 changes: 2 additions & 2 deletions EasyPusher_Win/EasyPusher/EasyPusherDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ BOOL CEasyPusherDlg::OnInitDialog()

if (NULL != pRtspURL)
{
pRtspURL->SetWindowTextW(TEXT("rtsp://114.55.107.180:554/stream.sdp"));
pRtspURL->SetWindowTextW(TEXT("rtsp://www.easydarwin.org:554/stream.sdp"));
}

m_edtIp.SetWindowTextW(TEXT("114.55.107.180"));
m_edtIp.SetWindowTextW(TEXT("www.easydarwin.org"));

CEdit* pPort = (CEdit*)GetDlgItem(IDC_EDIT_SERVER_PORT);
if (pPort)
Expand Down

0 comments on commit c823d15

Please sign in to comment.