[Live-devel] Using a GET_PARAMETER and want the return to have a type (Content-Type)

Ross Finlayson finlayson at live555.com
Wed Mar 8 18:52:46 PST 2017


Do you have your own subclass of “RTSPServer” that re-implements the “handleCmd_GET_PARAMETER()” virtual function - as described in the comments in lines 299-301 of “RTSPServer.cpp”?

You can probably put a “Content-Type” header in the response by passing it in your call to "setRTSPResponse()” (at the end of your implementation of “handleCmd_GET_PARAMETER()”) - e.g.
	setRTSPResponse("200 OK\r\nContent-Type: text/parameters”);

(You shouldn't need to *redefine* the “setRTSPResponse()” function to do this.)


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




More information about the live-devel mailing list