Kurento / kurento

Kurento WebRTC Media Server
Apache License 2.0
304 stars 58 forks source link

this.generateOffer is not a function #52

Open zulfahmidev opened 1 year ago

zulfahmidev commented 1 year ago
user.rtcPeer = kurentoUtils.WebRtcPeerRecvonly(options, function(err) {
    if (err) {
      return console.log(err)
    }

    this.generateOffer(onOffer)
  })

output error:

Uncaught (in promise) TypeError: this.generateOffer is not a function