[Live-devel] Support for DSCP in Live555

Ross Finlayson finlayson at live555.com
Thu Dec 15 23:57:01 PST 2022


Kjeld,

I’ve never been a fan of ‘Differentiated Services’.  It’s something that will rarely be available for client->server paths on the general Internet, and when it is available, it will usually be within a controlled private network (‘intranet’), in which case (IMHO) it would usually be possible to get the desired performance just by properly provisioning your network.

So, because this is something that is unlikely to be used much, I won’t be adding it to the LIVE555 library.  But it should be possible, I think, for you to implement this yourself, e.g., by subclassing “RTSPClient”, and reimplementing the virtual function “connectToServer()” in your subclass.  E.g., you might do something like:
	int MyRTSPClientSubclass::connectToServer( … ) {
		int baseResult = RTSPClient::connectToServer( … );
		if (baseResult > 0) {
			// do DSCP setup
		}

		return baseResult;
	}


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




More information about the live-devel mailing list