aullman / opentok-meet

Opentok app with screen sharing using the WebRTC screen sharing feature
MIT License
133 stars 129 forks source link

Cannot call getStats before there is a connection. #184

Closed aullman closed 7 years ago

aullman commented 7 years ago

Getting this error every time you first start subscribing to someone.

Cannot call getStats before there is a connection.

We should check if the subscriber is connected before we try to call getStats.