Support for screen recording in Microsoft Teams applications

Copper Contributor

Hi,

 

In my organisation, we are building a microsoft teams application with bot, tab and messaging extension capabilities. 

We want to add screen recording, video record and audio record to this application through a task module opened by our bot or our messaging extension.

 

Our Teams application is working perfectly in web browser (chrome/ edge/ safari) and we are able to make audio, video and screen recording from a task module.

However, the screen recording feature is not working in Teams desktop application (both windows and mac).

 

We are using the javascript api 'getDisplayMedia'.

When we run the following command in the devtools console of Teams Desktop, we got an 'Permission Denied' error:

navigator.mediaDevices.getDisplayMedia()
.then((stream)=>{console.log('done');})
.catch((e)=>{console.log(e)});

 

We have requested the media permission to our apps in the manifest.json:

"devicePermissions": [
    "media",
    "notifications",
    "midi",
    "openExternal",
    "geolocation"
  ]

 

Does Teams Desktop not support screen record for custom application?

Are Microsoft planning to support this feature in future release or not?

 

Thank you, in advance for your valuable assistance. 

Best regards,

 

Géraud.

0 Replies