RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
I'm creating a Chrome Extension (manifest v3 - Content Script) that runs on other sites inside an iFrame. I'm using RecordRTC to record user's audio for a Speech to Text module. It works fine on most sites, but recording doesn't work on sites which have 'Content Security Policy' headers, such as GitHub.
Either this is an issue in the library or I'm missing some logic. I've tried adding headers for the 'Content Security Policy' in the iFrame but it doesn't work. Please help me with this issue.
Please have a look at the Screenshot attached.
P.S. the iFrame is not causing the issue. I've tried testing it after removing the iFrame completely.
I'm creating a Chrome Extension (manifest v3 - Content Script) that runs on other sites inside an iFrame. I'm using RecordRTC to record user's audio for a Speech to Text module. It works fine on most sites, but recording doesn't work on sites which have 'Content Security Policy' headers, such as GitHub. Either this is an issue in the library or I'm missing some logic. I've tried adding headers for the 'Content Security Policy' in the iFrame but it doesn't work. Please help me with this issue.
Please have a look at the Screenshot attached.
P.S. the iFrame is not causing the issue. I've tried testing it after removing the iFrame completely.