[AWS] AWS.Client

Adrian Hoe 贺文耀 mailbox at adrianhoe.com
Thu Sep 13 12:33:27 CEST 2007


On Sep 13, 2007, at 4:33 PM, Dmitriy Anisimkov wrote:

> Adrian Hoe 贺文耀 wrote:
>> So far, I am able to connect to the video server and to issue simple
>> control commands to the video server with AWS.Client.Create and
>> AWS.Client.Get.
>>
>> I am ready to step into the second phase of exploration which is more
>> difficult and most important part of the entire project. To retrieve
>> JPEG images from the server.
>>
>> To retrieve the JPEG images from the server using a web browser:
>>
>>
>>  http://xyz.com:20000/nphMotionJpeg? 
>> Resolution=320x240&Quality=Standard
>> <http://xyz.com:20000/nphMotionJpeg? 
>> Resolution=320x240&Quality=Standard>
> Did you see stream of changing JPEG images by the common Web Browser ?

Yes.



> What is the parameter Kind in the Server_Push.Register call ?
> If you use Kind => Multipart and Content_Type = 'image/jpeg' you could
> see the images
> in the Firefox, Mozilla or SeaMonkey browsers.

I don't understand this question.



> Do you really need to write own application to show the JPEG-s ?

Yes. I am thinking of writing my own application to show the JPEG.  
Viewing the images with a web browser is the easiest and most  
convenient way. But it lacks features that I wish for. e.g.,  
overlapping text (information such as date and time, camera ID and  
other status) onto the images, saving and replaying the images, and etc.

There is software running on Windows and I don't think I am going to  
invest in WIntel machines and run Windows only for that purpose. I  
want to run on my Macs which I use for my daily computing.

Are there any other options?


>> The server will send (push) continuous frames of JPEG still images to
>> the browser giving the motion effects.
>>
>> According to doc, I can use Read_Some or Read to receive the JPEG
>> frames with connection created with Server_Push => True.
> Not to receive frames, but to read server-push stream. separation  
> to the
> frames is not supported for now.
> There is simple separation method Read_Untill delimiter. But it is not
> fit for binary data.

Doesn't the server push the images stream frame by frame at a time?

How about the comment regarding Last < Data'First or Last <  
Data'Last? Which one is correct?

Thanks.
--
"If you missed the rising sun and the morning dew, don't miss the  
beautiful sunset." -- Adrian Hoe inspired by Michal Nowak, June 15 2004
http://adrianhoe.com
http://adrianhoe.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/aws/attachments/20070913/0a6fd363/attachment.htm 


More information about the AWS mailing list