NetTalk Central

Author Topic: Webcam Question.  (Read 4419 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
    • Email
Webcam Question.
« on: February 09, 2019, 08:12:31 PM »
Hi,
NT 11.05 ST 3.05
I have an Amazon  NT app running with a certificate and displaying a secure site https:
The app is working but its not taking or saving the webcam image. although the process has created a link address in the tps file.
The webcam "ready light" shows
I have checked the  nettalk webinars for webcam and there is mention of the fact that  the webcam now needs to run from a secure site.
The routines all occur as expected and an " image icon without an image"  appears in the window viewer
This app has not been amended other than updating the NT and ST templates, it was working in earlier nt versions,

These are the console errors......

Refused to apply style from 'https://rji.timepeace.co.nz/styles/custom.css?c=1' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
jquery.nt-cam.js?c=1:68 Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
    at t.(anonymous function).(anonymous function).getStreamUrl (https://rji.timepeace.co.nz/scripts/jquery.nt-cam.js?c=1:68:22)
    at t.(anonymous function).(anonymous function).getStreamUrl (https://rji.timepeace.co.nz/scripts/jquery-ui-1.12.1.custom.min.js?c=1:6:4499)
    at jquery.nt-cam.js?c=1:174
LogoutForm:1 Refused to apply style from 'https://rji.timepeace.co.nz/styles/custom.css?c=1' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.


What to do please....thanks
Cheers
Richard








 

Richard I

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
    • Email
Re: Webcam Question.
« Reply #1 on: February 10, 2019, 01:20:18 PM »
Update:
With custom css removed
Webcam photo recorded with InternetExplorer

However, With Firefox Developer,Console is reporting
TypeError: 'getUserMedia' called on an object that does not implement interface MediaDevices. jquery.nt-cam.js:161:16
TypeError: this.options.videoElement is null jquery.nt-cam.js:127:3

and with Chrome:
jquery.nt-cam.js?c=1:68 Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
    at t.(anonymous function).(anonymous function).getStreamUrl (https://rji.timepeace.co.nz/scripts/jquery.nt-cam.js?c=1:68:22)
    at t.(anonymous function).(anonymous function).getStreamUrl (https://rji.timepeace.co.nz/scripts/jquery-ui-1.12.1.custom.min.js?c=1:6:4499)
    at jquery.nt-cam.js?c=1:174


???
Thanks
Richard

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Webcam Question.
« Reply #2 on: February 10, 2019, 10:35:06 PM »
reading your account it seems the WebCam API has changed a bit in FF and Chrome. This is not uncommon. There's no work-around for this,  will need to investigate a bit deeper. So hopefully the fix will be in a future release.