forked from rgaufman/live555
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
46 changed files
with
336 additions
and
137 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
INCLUDES = -Iinclude -I../UsageEnvironment/include -I../groupsock/include | ||
##### Change the following for your environment: | ||
PREFIX = /usr/local | ||
LIBDIR = $(PREFIX)/lib | ||
##### Change the following for your environment: |
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
6 changes: 3 additions & 3 deletions
6
BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh
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,10 +1,10 @@ | ||
// Version information for the "BasicUsageEnvironment" library | ||
// Copyright (c) 1996-2012 Live Networks, Inc. All rights reserved. | ||
// Copyright (c) 1996-2013 Live Networks, Inc. All rights reserved. | ||
|
||
#ifndef _BASICUSAGEENVIRONMENT_VERSION_HH | ||
#define _BASICUSAGEENVIRONMENT_VERSION_HH | ||
|
||
#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2012.12.24" | ||
#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1356307200 | ||
#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2013.01.25" | ||
#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1359072000 | ||
|
||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
##### Change the following for your environment: |
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,4 @@ | ||
INCLUDES = -Iinclude -I../groupsock/include | ||
##### Change the following for your environment: | ||
PREFIX = /usr/local | ||
LIBDIR = $(PREFIX)/lib | ||
##### Change the following for your environment: |
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,10 +1,10 @@ | ||
// Version information for the "UsageEnvironment" library | ||
// Copyright (c) 1996-2012 Live Networks, Inc. All rights reserved. | ||
// Copyright (c) 1996-2013 Live Networks, Inc. All rights reserved. | ||
|
||
#ifndef _USAGEENVIRONMENT_VERSION_HH | ||
#define _USAGEENVIRONMENT_VERSION_HH | ||
|
||
#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2012.12.24" | ||
#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1356307200 | ||
#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2013.01.25" | ||
#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1359072000 | ||
|
||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- proxyServer/live555ProxyServer.cpp 2013-01-25 18:47:20.000000000 +0000 | ||
+++ ../Github/live555/proxyServer/live555ProxyServer.cpp 2013-01-30 15:20:07.000000000 +0000 | ||
@@ -27,6 +27,7 @@ | ||
int verbosityLevel = 0; | ||
Boolean streamRTPOverTCP = False; | ||
portNumBits tunnelOverHTTPPortNum = 0; | ||
+portNumBits rtspServerPortNum = 554; | ||
char* username = NULL; | ||
char* password = NULL; | ||
|
||
@@ -34,6 +35,7 @@ | ||
*env << "Usage: " << progName | ||
<< " [-v|-V]" | ||
<< " [-t|-T <http-port>]" | ||
+ << " [-p <rtsp-port>]" | ||
<< " [-u <username> <password>]" | ||
<< " <rtsp-url-1> ... <rtsp-url-n>\n"; | ||
exit(1); | ||
@@ -90,6 +92,22 @@ | ||
break; | ||
} | ||
|
||
+ case 'p': { | ||
+ // set port | ||
+ if (argc > 3 && argv[2][0] != '-') { | ||
+ // The next argument is the RTSP server port number: | ||
+ if (sscanf(argv[2], "%hu", &rtspServerPortNum) == 1 | ||
+ && rtspServerPortNum > 0) { | ||
+ ++argv; --argc; | ||
+ break; | ||
+ } | ||
+ } | ||
+ | ||
+ // If we get here, the option was specified incorrectly: | ||
+ usage(); | ||
+ break; | ||
+ } | ||
+ | ||
case 'u': { // specify a username and password (to be used if the 'back end' (i.e., proxied) stream requires authentication) | ||
if (argc < 4) usage(); // there's no argv[3] (for the "password") | ||
username = argv[2]; | ||
@@ -131,12 +149,11 @@ | ||
// access to the server. | ||
#endif | ||
|
||
- // Create the RTSP server. Try first with the default port number (554), | ||
+ // Create the RTSP server. Try first with the default port number (554) or the one set by the caller, | ||
// and then with the alternative port number (8554): | ||
RTSPServer* rtspServer; | ||
- portNumBits rtspServerPortNum = 554; | ||
rtspServer = RTSPServer::createNew(*env, rtspServerPortNum, authDB); | ||
- if (rtspServer == NULL) { | ||
+ if (rtspServer == NULL && rtspServerPortNum == 554) { | ||
rtspServerPortNum = 8554; | ||
rtspServer = RTSPServer::createNew(*env, rtspServerPortNum, authDB); | ||
} |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
INCLUDES = -Iinclude -I../UsageEnvironment/include | ||
##### Change the following for your environment: | ||
PREFIX = /usr/local | ||
LIBDIR = $(PREFIX)/lib | ||
##### Change the following for your environment: |
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,10 +1,10 @@ | ||
// Version information for the "groupsock" library | ||
// Copyright (c) 1996-2012 Live Networks, Inc. All rights reserved. | ||
// Copyright (c) 1996-2013 Live Networks, Inc. All rights reserved. | ||
|
||
#ifndef _GROUPSOCK_VERSION_HH | ||
#define _GROUPSOCK_VERSION_HH | ||
|
||
#define GROUPSOCK_LIBRARY_VERSION_STRING "2012.12.24" | ||
#define GROUPSOCK_LIBRARY_VERSION_INT 1356307200 | ||
#define GROUPSOCK_LIBRARY_VERSION_STRING "2013.01.25" | ||
#define GROUPSOCK_LIBRARY_VERSION_INT 1359072000 | ||
|
||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
INCLUDES = -Iinclude -I../UsageEnvironment/include -I../groupsock/include | ||
##### Change the following for your environment: | ||
PREFIX = /usr/local | ||
LIBDIR = $(PREFIX)/lib | ||
##### Change the following for your environment: |
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
Oops, something went wrong.