[Live-devel] How to restrict stream from being viewed by more than one user?

Ross Finlayson finlayson at live555.com
Thu Mar 19 14:28:53 PDT 2020


Why don’t you simply add authentication (i.e., one or more <username>,<password> pairs) to the RTSP server?  Then, only a user that knows the username and password will be able to access the stream.

This is very easy to do.  For example note the code “testOnDemandRTSPServer.cpp” in the “testProgs” directory, and note the code (starting at line 59) bracketed by
	#ifdef ACCESS_CONTROL
	#endif


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list