beautypg.com

Return, Return: mpeg4 video frames, Return: mpeg4 audio frames – ABUS TVIP515x0 User Manual

Page 381

background image

381

Return:

HTTP/1.0 200 OK\r\n

Content-Type: image/jpeg\r\n

Content-Length: \r\n

\r\n

\r\n


1.2.16 Get video/audio stream

Example: Get MPEG4 video/audio stream (Only MPEG4 support audio frames)

http:///video.mp4

Return: MPEG4 video frames

HTTP/1.0 200 OK\r\n

Content-Type: multipart/x-mixed-replace;boundary=\r\n

\r\n

--\r\n

where the proposed is

myboundary

and the returned field is

Content-Type:

video/mpeg

\r\n Content-

Length: \r\n

\r\n

\r\n

--\r\n


Return: Mpeg4 audio frames

HTTP/1.0 200 OK\r\n

Content-Type: multipart/x-mixed-replace;boundary=\r\n

\r\n

--\r\n

where the proposed is

myboundary

and the returned field is

Content-Type:

audio/basic

\r\n

Content-Length: \r\n

\r\n