0

Is there an event to listen, when the application that is shared via chrome getDisplayMedia is resized?

For example if a text editor application is shared and then resized while still being shared, then the video track also gets resized. But I dont find an event handler to listen to the size change. Is there an event to listen to?

Anthony
  • 602
  • 4
  • 18

1 Answers1

0

I think there is only way to monitor videoWidth/videoHeight using requestAnimationFrame etc.

kenji tanaka
  • 461
  • 4
  • 5