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

Craig Matsuura cmatsuura at vivint.com
Thu Mar 9 12:39:05 PST 2017


I do have a subclass.  I could try that.  That is a good idea.

BTW: I think there is an email on the list eboni at msnemail.net that is spamming me with junk.  Is there a way to get them off this list?

Thanks,
Craig
________________________________________
From: live-devel <live-devel-bounces at ns.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: Wednesday, March 8, 2017 7:52 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Using a GET_PARAMETER and want the return to have a type (Content-Type)

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.
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.live555.com%2F&data=01%7C01%7Ccmatsuura%40vivint.com%7Cf382ada415854241d4ab08d4669b6b49%7C54cc98ca024a470185483741e3b8d59d%7C0&sdata=6t0moJ4gGcn22LWni5TNveZHrAIjeBufPHuhNsR3V9c%3D&reserved=0


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.live555.com%2Fmailman%2Flistinfo%2Flive-devel&data=01%7C01%7Ccmatsuura%40vivint.com%7Cf382ada415854241d4ab08d4669b6b49%7C54cc98ca024a470185483741e3b8d59d%7C0&sdata=O%2B5YiUQMML9SC3g47RupclhHZYf1kgs36R47wNxeviQ%3D&reserved=0



More information about the live-devel mailing list