Closed leaysgur closed 6 years ago
Currently, if user calls ScreenShare.create() on not supported browser(like Safari). It throws...
ScreenShare.create()
TypeError: undefined is not an object (evaluating 'this._logger.log') create — screenshare-latest.js:137
This PR fixes this and returns UnknowAdapter instead of null.
UnknowAdapter
null
Thus, we can use ScreenShare.create().isScreenShareAvailable() on every browser.
ScreenShare.create().isScreenShareAvailable()
Currently, if user calls
ScreenShare.create()
on not supported browser(like Safari). It throws...This PR fixes this and returns
UnknowAdapter
instead ofnull
.Thus, we can use
ScreenShare.create().isScreenShareAvailable()
on every browser.