Rahul_Dabhi
Rahul_Dabhi

Reputation: 730

Cannot read property 'chooseDesktopMedia' of undefined

I am working on desktopCapture API of google chrome webrtc. When I run the application I am getting error "Cannot read property 'chooseDesktopMedia' of undefined". Means browser is not able to find the chrome.desktopCapture inside chrome browser.

My chrome browser version is 38.

Upvotes: 1

Views: 2470

Answers (1)

wpp
wpp

Reputation: 7313

Yep, access to the desktopCapture API is disabled by default. You either need to write an extension or modify the browsers internal flags.

I wrote such an example extension which might be helpful.

Upvotes: 1

Related Questions