[Live-devel] bind() error (port number: 554)

Ross Finlayson finlayson at live.com
Wed Nov 17 14:55:59 PST 2004


At 08:54 AM 11/17/04, you wrote:
>You would need to run it as "sudo testMP3Streamer."  The admin account on 
>OSX is still just a regular user, but with rights to run sudo, and some 
>different group access is setup.  You still are not root, however, so 
>that's why you can't bind to port 554.

Another thing you could do is use a non-privileged port number (i.e., one 
that's >1024) instead of the default RTSP port number of 554.  Typically, 
7070 is used for this.  E.g., you could replace the line
         rtspServer = RTSPServer::createNew(*env);
with
         rtspServer = RTSPServer::createNew(*env, 7070);

Of course, if you do this, your "rtsp://" URLs will need to include the 
(non-default) port number: 7070.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list