WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

'poster' option not work on Android devices when camera snapshot url is set

Open PatrykCzarnota opened this issue 5 months ago • 2 comments

Hello,

Anyone know why snapshot from camera is not set as picture when stream is loading on Android devices?

'poster' option is set like: poster: http://192.168.0.xx/cgi-bin/snapshot.cgi On the PC browser snapshot image sets fine when stream is loading. On the Android devices camera views got black background when stream is loading.

PatrykCzarnota avatar Feb 26 '24 13:02 PatrykCzarnota

As a workaround you can run a shell script similar to my code snippet in this comment: https://github.com/AlexxIT/WebRTC/issues/479#issuecomment-2038238769

JavanXD avatar Apr 04 '24 21:04 JavanXD

This is simple image loading request from your device. Maybe your Android haven't direct access to this IP. Maybe you using HTTPS, which are not allowed to do HTTP requests.

AlexxIT avatar Apr 05 '24 13:04 AlexxIT