Skip to content

Commit

Permalink
Merge pull request #245 from AgoraIO/dev/1012
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
Matrixbirds authored Nov 12, 2020
2 parents 2f9e8e0 + 2d8a999 commit d6b0cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"lint-fix": "eslint --fix src/ "
},
"dependencies": {
"agora-rtc-sdk": "^3.0.2",
"agora-rtc-sdk": "^3.2.3",
"jquery": "^3.4.1",
"materialize-css": "^1.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export default class RTCClient {
_updateVideoInfo () {
this._localStream && this._localStream.getStats((stats) => {
const localStreamProfile = [
['Uid: ', this._localStream.getId()].join(''),
['Uid: ', this._localStream && this._localStream.getId()].join(''),
['SDN access delay: ', stats.accessDelay, 'ms'].join(''),
['Video send: ', stats.videoSendFrameRate, 'fps ', stats.videoSendResolutionWidth + 'x' + stats.videoSendResolutionHeight].join(''),
].join('<br/>')
Expand Down

0 comments on commit d6b0cca

Please sign in to comment.