Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Autentication error on createCall().newInvite() #49

Open
2 of 9 tasks
Fefe-88 opened this issue Jan 29, 2024 · 0 comments
Open
2 of 9 tasks

[Bug] Autentication error on createCall().newInvite() #49

Fefe-88 opened this issue Jan 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Fefe-88
Copy link

Fefe-88 commented Jan 29, 2024

Bug Category

  • Credential Login
  • Token Login
  • Local Audio Issue
  • Remote Audio Issue
  • Audio Device Switching
  • Mute / Unmute
  • Hold / Unhold
  • Performance issues
  • Other

SDK Version
telnyx_webrtc: ^0.0.10

Describe the bug
After a .connect() and a .tokenLogin(tc), i call the method .createCall().newInvite(...) but no call starts.

Expected behaviour
The call starts with no issues

To Reproduce
Log on with tokenConfig

** Device:**

  • Windows

Logs
After connecting:
💡 Web Socket is now connected
💡 WebSocket connected

After trying .createCall().newInvite(...)
💡 Peer :: Adding ICE candidate :: Instance of 'RTCIceCandidate'
💡 TxSocket :: send : ... data ...
💡 DEBUG MESSAGE: {"jsonrpc":"2.0","id":"04f0a93c-3ab2-4ce7-a021-6146e418ba2f","error":{"code":-32000,"message":"Authentication Required"}}
💡 Received WebSocket message :: {"jsonrpc":"2.0","id":"04f0a93c-3ab2-4ce7-a021-6146e418ba2f","error":{"code":-32000,"message":"Authentication Required"}}
💡 Received WebSocket message - Contains Error :: "{"jsonrpc":"2.0","id":"04f0a93c-3ab2-4ce7-a021-6146e418ba2f","error":{"code":-32000,"message":"Authentication Required"}}"
💡 Received and ignored empty packet

The "onSocketErrorReceived" listener, received this:
[ERROR:flutter/shell/common/shell.cc(1004)] The 'FlutterWebRTC/peerConnectionEvent68AABAA1-A384-490D-8604-3A54594FC8A7' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.

@Fefe-88 Fefe-88 added the bug Something isn't working label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant