在linux上使用C中的简单tcp服务器通过http发送MJPEG流
我正在尝试编写一个简单的TCP服务器,用于通过http发送MJPEG流。 客户向我发送:在linux上使用C中的简单tcp服务器通过http发送MJPEG流,http,mjpeg,Http,Mjpeg,我正在尝试编写一个简单的TCP服务器,用于通过http发送MJPEG流。 客户向我发送: GET / HTTP/1.0 CSeq: 1 User-Agent: LIVE555 Streaming Media v2013.02.11 x-sessioncookie: fc0538d3fd5b797ec31b54e Accept: application/x-rtsp-tunnelled Pragma: no-cache Cache-Control: no-cache 或 请问我需要什么样的回复才
GET / HTTP/1.0
CSeq: 1
User-Agent: LIVE555 Streaming Media v2013.02.11
x-sessioncookie: fc0538d3fd5b797ec31b54e
Accept: application/x-rtsp-tunnelled
Pragma: no-cache
Cache-Control: no-cache
或
请问我需要什么样的回复才能发送多个JPEG
谢谢
PF客户端请求请求“应用程序/x-rtsp-tunnelled”回答,这不是HTTP上的简单MJPEG流(多部分/x-mixed-replace with image/jpeg边界),这是HTTP流中的rtsp/RTP流 Live555通过HTTP服务器提供RTSP/RTP请参阅 如果您想流式传输视频/JPEG流,则需要扩展Live555
GET / HTTP/1.0
User-Agent: CmRtspClient 1291
x-sessioncookie: 29953
Accept: application/x-rtsp-tunnelled
Connection: Keep-Alive
Cache-Control: no-cache