Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

subscribe user 2444849064 error TypeError: b is not a function #149

Open
nmakod opened this issue Jun 9, 2021 · 0 comments
Open

subscribe user 2444849064 error TypeError: b is not a function #149

nmakod opened this issue Jun 9, 2021 · 0 comments

Comments

@nmakod
Copy link

nmakod commented Jun 9, 2021

Describe the bug

I'm trying to build a Preact component which takes care of rendering the Live streaming and can be used within couple of our web application. However when I add this component in the host web app, I'm getting the below error.

2:47:29:806 Agora-SDK [ERROR]: [client-b1f55] subscribe user 2444849064 error TypeError: b is not a function at Mk.eval (AgoraRTC_N-production.js?8c5e:23) at new Promise (<anonymous>) at Mk.setOfferSDP (AgoraRTC_N-production.js?8c5e:23) at eval (AgoraRTC_N-production.js?8c5e:23) log @ AgoraRTC_N-production.js?8c5e:23 error @ AgoraRTC_N-production.js?8c5e:23 eval @ AgoraRTC_N-production.js?8c5e:23 eval @ AgoraRTC_N-production.js?8c5e:23 Promise.then (async) eval @ AgoraRTC_N-production.js?8c5e:23 Promise.then (async) eval @ AgoraRTC_N-production.js?8c5e:23 subscribe @ AgoraRTC_N-production.js?8c5e:23 eval @ index.tsx?deb7:64 emit @ AgoraRTC_N-production.js?8c5e:23 _this123._handleAddAudioOrVideoStream @ AgoraRTC_N-production.js?8c5e:23 eval @ AgoraRTC_N-production.js?8c5e:23 emit @ AgoraRTC_N-production.js?8c5e:23 _this39.onWebsocketMessage @ AgoraRTC_N-production.js?8c5e:23 emit @ AgoraRTC_N-production.js?8c5e:23 _this37.websocket.onmessage @ AgoraRTC_N-production.js?8c5e:23 AgoraRTC_N-production.js?8c5e:23 Uncaught (in promise) TypeError: b is not a function at Mk.eval (AgoraRTC_N-production.js?8c5e:23) at new Promise (<anonymous>) at Mk.setOfferSDP (AgoraRTC_N-production.js?8c5e:23) at eval (AgoraRTC_N-production.js?8c5e:23)

SDK Logs

You should call enableLogUpload to enable log upload to Agora's Log Server.

Channel:

UID:

Platform and Browser:
Mac, Chrome

SDK Version: 4.5.0

To Reproduce

Steps to reproduce the behavior:

Additional context

Add any other context about the problem here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant