NetTalk Central

Author Topic: WebCam problem still NT 14.06  (Read 945 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 278
    • View Profile
    • Email
WebCam problem still NT 14.06
« on: October 08, 2023, 06:33:54 AM »
Hi,
Still cannot get Webcam to save picture correctly.  C11.0.136 and NT14.06.
Webcam Demo Example 79 does not work correctly.  My problem is in saving the picture and then re-displaying it.
Out of the box, example 79 seems to be trying to save a Binary string to DisplayPhoto name and NOT the assigned name of the file which was uploaded.
I modified the Settings dictionary and added a blob field(binary).  I tried to save the webcam picture to the binary blob.  Nothing saved.
So questions:
1. Can I save the picture name to MAI:MailBoxPicture AND a BLOB(Binary) field at the same time?  OR is it 1 or the other?
2. If I want to save it into a BLOB, how do I set up the fields to display from the BLOB and not a saved file name?
Thanks
Ron

rjolda

  • Sr. Member
  • ****
  • Posts: 278
    • View Profile
    • Email
Re: WebCam problem still NT 14.06
« Reply #1 on: October 08, 2023, 01:28:17 PM »
HI Bruce,
I thought it was a NT14.04 issue but it persists in 14.06.  It looks like I have corrupted something in the javascript or somewhere else along the way.
Webcam example 79 - right out of the box - NO BLOB says that the
MaiLMailboxPicture as:  data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAAXNSR0IArs4c6QAAIABJREFUeF7svemXZeV15rnvGHNEZuScyZAMyZgMQkgMEpYsa7CRbMlyq2RAgOyqaq8uu7pWfeuuqv5c/Qf06tWu1R+6293t8upy2a72IFqTJUBIjAIhSDKBnGOeI+489XqeZ+9zTgSRCAmEEriXFUTGHc55z3vOve/vPnvvZ
There is no image in the \web\uploads  folder.
What settings can I have screwed up to get this behavior??
Thanks,
Ron

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: WebCam problem still NT 14.06
« Reply #2 on: October 08, 2023, 11:02:07 PM »
Perhaps post an example of how you have set it up Ron, then I can comment.

rjolda

  • Sr. Member
  • ****
  • Posts: 278
    • View Profile
    • Email
Re: WebCam problem still NT 14.06
« Reply #3 on: October 09, 2023, 03:02:04 AM »
HI Bruce,
This is s POST of the last photo taken ( record updated) and shows the values;
POST /index.htm HTTP/1.1
Host: localhost:88
Connection: keep-alive
Content-Length: 674502
Cache-Control: max-age=0
sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Origin: http://localhost:88
DNT: 1
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: http://localhost:88/MailboxesFormControl
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: SESSIONIDX=LEOKjSVYkxdcsctfiMxN1Rvt78RI7H

FormState=JXJVAORVEW&MAI__MailBoxName=Third&MAI__Password=oooo&MAI__StartDate=+8%2F10%2F2023&MAI__SizeLimit=10&MAI__MailBoxPicture=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAAXNSR0IArs4c6QAAIABJREFUeF6UvYeyZOlxpPmnzitKNBoAyR2qIW3G9v2faseWQJe6IvWa%2B%2Bd%2BTlYPxsgtWFs3qm5lnvOLCA8Pj4jF%2F%2F3v%2F3p7O7yP9XY3rrcxFrfFWC7GWI7TWI7zuFzex3KxGIvbcozlalzGclwXY1xul3Ed57FZr8bpfB7jthqr1WaMm%2F7yYizXy3G6nMcYtzFu17EaK3%2FuuF3Gdr0a43IZi%2BUYV%2F%2FEeixu26EPXq30%2Fy%2FjtrqMy%2B00zpfTWCz0TJ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NR%2FGKwVvwPvxtgFoBmAHO9eRLsMz%2FbBr1B3J%2BuqIyUPosO4V4WHsH%2Fd9%2BrsDGeaz1nnYgGHCANWspo6490f%2FXOQBo6tDjKG76vRg17Ycum5%2FUa6E%2FAzJ5F7HM%2FjOBZTmzOgg5WT25HLnX0EHAYizWAvaXcT6cx363C1jlLOh5%2FTU20nprI9bJkOlsyPBMDlVA63ocl%2FNp7DcP42ZAJ2CvZb4aeOpTtA%2FaN%2F0jcOI7IDBRoM0ickZuRzthASJ2nROS3Y%2FB1XvKpOhKLQxk6mjt5LwOgAx9AO5fZ07%2FpTsgIMt54Qf0jgK0GHsBb2%2BdL%2FB1LHyoCGp8fgXiDfRrxPIdNu4AcIFQQy%2FdQ91L4Ou4XfNeiwRE%2Bk59h9Yj63e53Bzw6O%2FJMegZ9MQ2wqvsiM%2BlHlHnTO%2FAueYM1yH7xGA%2F%2FDxaJu6oAKDhQQA%2Bl


I have put together a 7zip file of my webcam79 folder and attached it. This is a show stopper for me so I need to get it going. 

After I get it going, I am going to want to save the picture in a BLoB(Binary) and serve it from the BLOB.

Many thanks,
Ron Jolda

rjolda

  • Sr. Member
  • ****
  • Posts: 278
    • View Profile
    • Email
Re: WebCam problem still NT 14.06
« Reply #4 on: October 09, 2023, 03:50:38 AM »
Bruce,
I went back and this worked perfectly well in nt11.57.  It was when I moved to NT14 that the saving picture went rogue!
Ron

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: WebCam problem still NT 14.06
« Reply #5 on: October 09, 2023, 09:07:04 PM »
no zip attached