team-telnyx / flutter-voice-sdk Goto Github PK
View Code? Open in Web Editor NEWTelnyx Flutter WebRTC SDK - Enable real-time communication with WebRTC and Telnyx
License: MIT License
Telnyx Flutter WebRTC SDK - Enable real-time communication with WebRTC and Telnyx
License: MIT License
Bug Category
SDK Version
Which version of the SDK have you added from pub.dev? Feel free to add the whole dependency implementation:
eg. telnyx_webrtc: ^0.0.1
Describe the bug
A clear and concise description of what the bug is.
Expected behaviour
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behaviour:
** Device (please complete the following information):**
Logs
Please provide any logs available to you, remember to enable verbose logging within the SDK.
Bug Category
SDK Version
telnyx_webrtc: ^0.0.3
Describe the bug
While creating a call using connected Telnyx client throws Argument Error, looking into API I believe it is caused due to the #11 socket initialize error while logging with credentials, since it throws an error there, the socket id is not initialized.
Logs
I/flutter (13454): │ #0 TelnyxClient._onMessage (package:telnyx_webrtc/telnyx_client.dart:234:13)
package:telnyx_webrtc/telnyx_client.dart:234
I/flutter (13454): │ #1 TelnyxClient.connect.<anonymous closure> (package:telnyx_webrtc/telnyx_client.dart:89:9)
package:telnyx_webrtc/telnyx_client.dart:89
I/flutter (13454): │ 💡 DEBUG MESSAGE: {"jsonrpc":"2.0","id":30805,"method":"telnyx_rtc.ping","params":{"serno":1660818704}}
Bug Category
SDK Version
Which version of the SDK have you added from pub.dev? Feel free to add the whole dependency implementation:
eg. telnyx_webrtc: ^0.0.1
Describe the bug
I would expect when Downloading the package, you would be able to just open the main.dart file and click run and it would spin up the app. It does not.
Expected behaviour
The app would boot and run
To Reproduce
Steps to reproduce the behaviour:
** Device (please complete the following information):**
Logs
Resolving dependencies...
Changed 111 dependencies!
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Upgrading build.gradle
Conflict detected between Android Studio Java version and Gradle version, upgrading Gradle version from 6.7 to 7.6.1.
Upgrading gradle-wrapper.properties
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
/home/eric/.pub-cache/hosted/pub.dev/firebase_core-1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'.
FirebaseAppPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
: Error: The argument type 'Map<String, dynamic>' can't be assigned to the parameter type 'CallKitParams'.
'Map' is from 'dart:core'.
'CallKitParams' is from 'package:flutter_callkit_incoming/entities/call_kit_params.dart' ('/home/eric/.pub-cache/hosted/pub.dev/flutter_callkit_incoming-1.0.3+3/lib/entities/call_kit_params.dart').
await FlutterCallkitIncoming.showCallkitIncoming(params);
^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script '/home/eric/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1201
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/home/eric/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 20s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Bug Category
SDK Version
telnyx_webrtc: ^0.0.3
Describe the bug
LateInitializationError: Field '_socket@742383924' has not been initialized. while connecting with Credentials
To Reproduce
Steps to reproduce the behaviour:
** Device (please complete the following information):**
Logs
Please provide any logs available to you, remember to enable verbose logging within the SDK.
Bug Category
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:**
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.
Bug Category
SDK Version
telnyx_webrtc: ^0.0.1
Describe the bug
Could you please add feature "Accept Call From Notification iOS".
Bug Category
SDK Version
telnyx_webrtc: ^0.0.3
Describe the bug
After the receiver accepts the call, both the caller nor the receiver cannot hear any audio from the device
Expected behavior
The caller and receiver should be able to hear and speak
** Device (please complete the following information):**
Logs
INVITATION ANSWERED :: {jsonrpc: 2.0, id: 67246, method: telnyx_rtc.answer, params: {callID: Instance of 'Uuid', variables: {Event-Name: CHANNEL_DATA, Core-UUID: efaeab2c-2067-42d3-b973-37aa4330ac97, FreeSWITCH-Hostname: b2bua-rtc.tel-sy1-ibm-prod-133, FreeSWITCH-Switchname: b2bua-rtc.tel-sy1-ibm-prod-133, FreeSWITCH-IPv4: 10.33.0.80, FreeSWITCH-IPv6: ::1, Event-Date-Local: 2022-08-19 14:24:34, Event-Date-GMT: Fri, 19 Aug 2022 14:24:34 GMT, Event-Date-Timestamp: 1660919074493112, Event-Calling-File: switch_channel.c, Event-Calling-Function: switch_channel_get_variables_prefix, Event-Calling-Line-Number: 4576, Event-Sequence: 163053}}}
Bug Category
SDK Version
Which version of the SDK have you added from pub.dev? Feel free to add the whole dependency implementation:
eg. telnyx_webrtc: ^0.0.1
Describe the bug
When i open the app the Telnyx client gets connected and then i login to the client and observer the responses through the onSocketMessageReceived handler, when i logout the user [App user] and logs in with a different user i connect again, when i do this then i repeat the first step again and observe the response. After that no socket message gets handled by the callback
Expected behaviour
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behaviour:
** Device (please complete the following information):**
Logs
Please provide any logs available to you, remember to enable verbose logging within the SDK.
Bug Category
SDK Version
Which version of the SDK have you added from pub.dev? Feel free to add the whole dependency implementation:
eg. telnyx_webrtc: ^0.0.1
Describe the bug
A clear and concise description of what the bug is.
Expected behaviour
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behaviour:
** Device (please complete the following information):**
Logs
Please provide any logs available to you, remember to enable verbose logging within the SDK.
Bug Category
how to use masked caller ID on this sdk?
Bug Category
SDK Version
eg. telnyx_webrtc: latest
Describe the bug
This only happens sometimes, but when i try to login with credentials sometimes the CLIENT_READY wont be logged.
Please check the logs below
Expected behaviour
socket method CLIENT_READY logs and should allow to receive or create calls
To Reproduce
Steps to reproduce the behaviour:
Bug Category
SDK Version
telnyx_webrtc: latest
Describe the bug
No, it does not occur in the example app because the example does not log in right after you connect the client. I had this issue for a long time and the workaround I did to fix it was using a delay of 4 seconds to log in after you connect the client because the connect() method is not asynchronous, but in release the delay is not really working and users are not able to automatically login into the client.
Expected behaviour
A clear and concise description of what you expected to happen.
Logs
Please provide any logs available to you, remember to enable verbose logging within the SDK.
Could you please add speaker option on call screen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.