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

Page 381

Advertising
background image

381

Return:

HTTP/1.0 200 OK\r\n

Content-Type: image/jpeg\r\n

Content-Length: <image size>\r\n

\r\n

<JPEG image data>\r\n


1.2.16 Get video/audio stream

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

http://<servername>/video.mp4

Return: MPEG4 video frames

HTTP/1.0 200 OK\r\n

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

\r\n

--<boundary>\r\n

<image>

where the proposed <boundary> is

myboundary

and the returned <image> field is

Content-Type:

video/mpeg

\r\n Content-

Length: <image size>\r\n

\r\n

<MPEG4 image data>\r\n

--<boundary>\r\n

<image>


Return: Mpeg4 audio frames

HTTP/1.0 200 OK\r\n

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

\r\n

--<boundary>\r\n

<image>

where the proposed <boundary> is

myboundary

and the returned <image> field is

Content-Type:

audio/basic

\r\n

Content-Length: <image size>\r\n

\r\n

Advertising