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

Craig Matsuura cmatsuura at vivint.com
Wed Mar 8 18:35:11 PST 2017


In a rtsp server I would like the GET_PARAMETER to return a content type that is sent to the GET_PARAMETER.


For example:


GET_PARAMETER rtsp://192.168.0.1:8554/Video-56/ RTSP/1.0
CSeq: 6
Authorization: Digest username="user", realm="LIVE555 Streaming Media", nonce="e9d7a2b4de4aedca69fe352d688edbbb", uri="rtsp://192.168.0.1:8554/Video-56/", response="bfd3d48dc
b98462370dc105429a939df"
User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2016.11.28)
Session: 2C92A1BC
Content-Type: text/parameters
Content-Length: 13

my_command



I want the return to contain the Content-Type: text/parameters.

The correct content type will allow wireshark to parse correctly.  Also it appears player based ffmpeg is having trouble parsing the content payload without the Content-Type.  I look for away to sub class

void RTSPServer::RTSPClientConnection::setRTSPResponse, but was wondering if there is

a better way to provide a custom Content-Type?


Thanks,

Craig




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170309/5329d65c/attachment.html>


More information about the live-devel mailing list