WebRTC on External Sites App - Webrtc not loading inside iframe (nextcloud)

Nextcloud version (eg, ): 25.04
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Installed via Cloudron
PHP version (eg, 7.4): 8.1.2

The issue you are facing:
Added my Vicidial installation as external site embeded with Nextcloud, Webrtc is not working and unable to acquire streams. Can you advise what to do?

Steps to replicate it:

  1. You need vicidial with WebRTC function
  2. Nextcloud with External Sites App
  3. Add your vicidial agent login as an external app embeded on nextcloud

This is the pop-up message when i try to login and initiate a webrtc connection:
“Something went wrong with WebRTC. Either your browser does not support the necessary WebRTC functions, you did not allow your browser to access the microphone, or there is a configuration issue. Please check your browsers error console for more details. For a list of compatible browsers please vist http://webrtc.org/

The output from my browser console.

sip.js:2900 Thu Mar 09 2023 05:01:16 GMT+0800 (Philippine Standard Time) | sip.invitecontext.mediahandler | unable to acquire streams
LoggerFactory.print @ sip.js:2900
LoggerFactory.<computed> @ sip.js:2917
Logger.<computed> @ sip.js:2911
acquireFailed @ sip.js:11132
Promise.then (async)
getDescription @ sip.js:11126
accept @ sip.js:6171
handleInvite @ vici_phone.js:409
(anonymous) @ vici_phone.js:575
EventEmitter.emit @ sip.js:112
(anonymous) @ sip.js:9300
EventEmitter.emit @ sip.js:112
fireNewSession @ sip.js:5783
Promise.then (async)
InviteServerContext @ sip.js:5791
UA.receiveRequest @ sip.js:9297
onMessage @ sip.js:8556
ws.onmessage @ sip.js:8424
sip.js:2900 DOMException: Permission denied