Basically this is my use case :
- According to particular tabId using the chrome.tabCapture.getMediaStreamId I want to get streamId out of it.
- Then send this streamId in the offscreen doc
- Now using the navigator.mediaDevices.getUserMedia I want to get the media streams
Following the above while using the chrome.tabCapture getting the below error :
Unchecked runtime.lastError: Extension has not been invoked for the current page (see activeTab permission). Chrome pages cannot be captured.
I have tried removing and attaching the activeTab permission but ending up with the same error.
However I have other permissions in-place like tabCapture, tabs.