Samsung / Castanets

Edge distributed web engine. Part of web engine processes are offloaded to a powerful devices and only graphical results are processed in local devices. This way, we overcome both CPU limitations and memory limitations of the low-end local devices
BSD 3-Clause "New" or "Revised" License
45 stars 43 forks source link

[Service Offloading] Allow getDisplayMedia in non-secure context. #386

Open Sunwoo-Nam opened 3 years ago

Sunwoo-Nam commented 3 years ago

In Service offloading, the android device gets contents for the webrtc server from the client device. The android device needs to use http protocol to access the client device, but getDisplayMedia does not work with http content. So, this patch allows that getDisplayMedia works on the http content by setting the document state to 'Secure'.

Sunwoo-Nam commented 3 years ago

Reference: https://github.sec.samsung.net/k2-nagaraju/WebRTCServices/commit/9523389f7b409c93ee2ca979d156ff96ad07d2c4