No image from TWebCamera |
Post Reply ![]() |
Author | |
Dino Gomezel ![]() Member ![]() Joined: 27 Aug 2018 Posts: 87 |
![]() ![]() ![]() ![]() Posted: 07 Nov 2019 at 8:39am |
Hello! I have this code:
The problem is that on iPhone the picture is always "data:,", on other deviced(PC/android..) is "data:image/png,...". (this is correct). I run this in Safari and Chrome for iOS, the result is the same. I know that running as PWS will not work, but I run just as an usual website in a browser. From the documentation TWebCamera is using the MediaDevices.getUserMedia() API. Because of this, two mayor limitations are: • The TWebCamera won’t work in any browser that does not support the getUserMedia API. • It is not yet supported in iOS PWA. |
|
![]() |
|
Tunde Keller ![]() TMS Support ![]() Joined: 03 Oct 2018 Posts: 10 |
![]() ![]() ![]() ![]() |
We have tested this here, but we could not reproduce it. The following worked correctly:
Do you have any special settings for the TWebCamera? Is it working properly apart from getting the image? What iOS version are you testing with?
|
|
![]() |
|
Dino Gomezel ![]() Member ![]() Joined: 27 Aug 2018 Posts: 87 |
![]() ![]() ![]() ![]() |
Using iPhone 6s
IOS 13.1 |
|
![]() |
|
Dino Gomezel ![]() Member ![]() Joined: 27 Aug 2018 Posts: 87 |
![]() ![]() ![]() ![]() |
Updated to iOS13.2.2, problem persists.
Latest version of WebCore
|
|
![]() |
|
Tunde Keller ![]() TMS Support ![]() Joined: 03 Oct 2018 Posts: 10 |
![]() ![]() ![]() ![]() |
We've tried with a newer version of iOS, and it's still working. So it's also important to know if you have any special settings for the TWebCamera? Is the control working properly apart from getting the image (SnapShotAsBase64) or do you also have problems with getting a live feed from it?
|
|
![]() |
|
Dino Gomezel ![]() Member ![]() Joined: 27 Aug 2018 Posts: 87 |
![]() ![]() ![]() ![]() |
The control works correctly all except the SnapShotAsBase64 function. Na the error is only on Iphone (Safari browser). Im working to provide an example to send toy you, so we will have exactly the same code (and will also be a test form me if the problem is on the component or in my program).
See you soon :)
|
|
![]() |
|
Dino Gomezel ![]() Member ![]() Joined: 27 Aug 2018 Posts: 87 |
![]() ![]() ![]() ![]() |
Created a test program - works OK on my iOS, so the problem seems just in my application.
Tried to remove and readd the camera component, but no change :( It just doesn't work on my iPhone. Tomorrow I willcheck on another iPhone that as never used onmy pages.
|
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |