Giter VIP home page Giter VIP logo

react-native-demo's Introduction

Voximplant React Native Demos

The demo demonstrates:

  • basic audio and video call functionality of the Voximplant React Native SDK
  • push notifications integration for Android and iOS
  • CallKit integration for iOS

Demo application with a simple UI for audio and video calls.

The demo application is written using functional components.

The demo demonstrates conference call functionality of the Voximplant React Native SDK.

The demo application is written using functional components and TypeScript.

Have a question

react-native-demo's People

Contributors

aylarov avatar dependabot[bot] avatar grigoryvp avatar jedi1150 avatar nikolasmelui avatar pe1ros avatar wayne1203 avatar yuliagrigorieva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-demo's Issues

Call failed

I installed the demo to a real iPhone, logged in with testuser2.
From a simulator, I logged in the app with testuser1.
From either side I cannot call the other. Below is the log I found from the website control panel:

2016-10-11 04:09:57 Loading scenario User2User
2016-10-11 04:09:57 Sent event to JS onPhoneEvent with params [{accessURL = http://173.0.146.133:12092/request/1270970dd93c09ed.1476158997.93876_173.0.146.133/bc51ea434830e53f ; accountId = 687614 ; applicationId = 1372747 ; initiatorCountry = US ; logURL = http://www-us-02-133.voximplant.com/logs/2016/10/11/040957_1270970dd93c09ed.1476158997.93876_173.0.146.133.log ; name = Application.Started ; sessionId = 18151735 ; userId = 81189 ; } ; ]
2016-10-11 04:09:57 Sent event to JS onPhoneEvent with params [{callerid = testuser2 ; destination = testuser1 ; displayName = Test User 2 ; fromURI = sip:[email protected] ; headers = {VI-Authenticated-Caller = testuser2 ; VI-Client-Device = WebRTC ; VI-Client-IP = 71.90.100.239 ; VI-Client-Type = user ; X-DirectCall = true ; } ; id = 2d2d852434a40c62.1476158997.93875 ; name = Application.CallAlerting ; toURI = sip:[email protected] ; } ; ]
2016-10-11 04:09:57 Executing JS command: CallUserDirect with params [{id = e3cxn0B6TIy20m9FixQb8C2n1xj7nEC9sOw_glEIh2M ; } ; {callerid = Test User 2 ; displayName = {VI-Authenticated-Caller = testuser2 ; VI-Client-Device = WebRTC ; VI-Client-IP = 71.90.100.239 ; VI-Client-Type = user ; X-DirectCall = true ; } ; headers = NULL ; incomingCall = 2d2d852434a40c62.1476158997.93875 ; username = testuser1 ; } ; ]
2016-10-11 04:09:57 Executing JS command: SendMediaBetween with params [{id1 = 2d2d852434a40c62.1476158997.93875 ; id2 = e3cxn0B6TIy20m9FixQb8C2n1xj7nEC9sOw_glEIh2M ; } ; ]
2016-10-11 04:09:58 Sent event to JS onPhoneEvent with params [{code = 500 ; headers = {} ; id = e3cxn0B6TIy20m9FixQb8C2n1xj7nEC9sOw_glEIh2M ; name = Call.Failed ; reason = Can't create dialog ; } ; ]
2016-10-11 04:09:58 Terminating (onClose)
2016-10-11 04:09:58 Executing JS command: close with params [void ; ]
2016-10-11 04:09:58 Session terminated

Can find Portal library

For running it on android Portal needs to be used but the POrtal library is nowhere to be found. What can be done ?

google services issue

Hey, I'm trying to run your demo with react native android. After following every instruction on your README on setting everything up I get an error when I run react-native run-android.

Task :app:processDebugGoogleServices FAILED

Call Disconnect immediately after successful connection

From the xcode logs:

2016-09-05 01:53:27.053 VoximplantDemo[9156:6860889] VoxImplant.answerCall 2016-09-05 01:53:27.127 VoximplantDemo[9156:6835625] Called remote function acceptCall with params ["915edd42555971a8.1473033199.962874" , {}] 2016-09-05 01:53:27.400 VoximplantDemo[9156:6835625] Called local function handleConnectionConnected with params ["915edd42555971a8.1473033199.962874"] 2016-09-05 01:53:27.401 [info][tid:com.facebook.react.JavaScript] Call connected 2016-09-05 01:53:27.633 VoximplantDemo[9156:6835625] Called local function handleSipEvent with params ["915edd42555971a8.1473033199.962874" , 4 , {"AudioCodec" : 114 , "AudioDirection" : "sendrecv" , "IP" : "95.163.65.6" , "OnHold" : false , "VideoCodec" : null , "VideoDirection" : null}] 2016-09-05 01:53:27.633 VoximplantDemo[9156:6835625] Called local function stopRinging with params ["915edd42555971a8.1473033199.962874"] 2016-09-05 01:53:27.634 VoximplantDemo[9156:6835625] Called local function handleSipEvent with params ["915edd42555971a8.1473033199.962874" , 1 , {"Call-Id" : "d3ee237d-0234-47b0-a122-55a734aab647" , "Contact" : "sip:[email protected]" , "From" : "sip:[email protected]" , "To" : "sip:[email protected]"}] 2016-09-05 01:53:27.634 VoximplantDemo[9156:6835625] Called local function handleConnectionDisconnected with params ["915edd42555971a8.1473033199.962874" , {"X-VI-Hangup-Cause" : "Normal termination"} , {"answeredElsewhere" : false}] 2016-09-05 01:53:27.635 VoximplantDemo[9156:6835625] Delete call: 915edd42555971a8.1473033199.962874 2016-09-05 01:53:27.635 VoximplantDemo[9156:6835625] Destroy local stream 2016-09-05 01:53:27.636 VoximplantDemo[9156:6835625] Called local function __destroyPC with params ["915edd42555971a8.1473033199.962874"] 2016-09-05 01:53:27.636 [info][tid:com.facebook.react.JavaScript] Call disconnected

You see that the call connects, after which its calls a handleConnectionDisconnected which cites the cause of disconnection to be "Normal termination".

Any ideas as to why the call disconnects immediately after connecting?

Call Getting Rejected Immediately

Hello!

First of all, thank you for this demo. It has saved me a lot of time. This specific issue is without any changed code from the demo. I am having some trouble with initiating a call. I have two iOS simulators open on my computer, and I have logged in with different accounts on both. They are logged in to the same application, of course.

When initiating a call from a simulator, I can see the call screen appearing on the second simulator for a brief moment, before being greeted with an "Error 603", which I have found to be the error "Call was rejected" from https://voximplant.com/docs/references/websdk/voximplant/callevents#failed

Is this happening because I am running two instances of the application on my computer? I haven't had a similar problem before. (EDIT: Ran from two different computers, same problem)

When I call: https://puu.sh/B1BU2/17f9628a47.png
1 second after: https://puu.sh/B1BYe/5ca994c479.png (EDIT: link was broken)

Thank you!

  • Ralfi

Undefined symbols for architecture x86_64

Hi,
I Just installed your module and run in my xcode , but the build is failed showing an error like this:

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_VoxImplant", referenced from:
objc-class-ref in libVoxImplant.a(VoxImplantModule.o)
objc-class-ref in libVoxImplant.a(VoxView.o)
(maybe you meant: OBJC_CLASS$_VoxImplantModule, OBJC_CLASS$_VoxImplantRendererViewManager , OBJC_CLASS$_VoxImplantRendererView )
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have done everything mentioned in the description but it did not work.
so, Please help me with the solution.....

Thank you

com.voximlpant error 480

I have 2 users
test1
test2

When test1 makes a call and test2 is not connected(Application closed).

I receives the below error.
Call failed:
The operation couldn't be complete.
com.voximplant error 480

Scenario Used:-
VoxEngine.forwardCallToUserDirect();

I am assuming when the other user is not connected I can send a notification to the user "test2".
But on the user test1 side, it gives error very quickly. There is not timeout.
So is there any feasibility of timeout functionality.

iOS cannot see any notification

Hi,

	"react": "16.6.0-alpha.8af6728",
	"react-native": "0.57.8",
	"react-native-voximplant": "1.4.0",

all calls come trough ok if the app is open. If the app is put to background, can see no notifications at all when call arrives.

I have installed both Apple Push Notification service SSL and VOIP certificates in VOX management console. Btw, do I need both if only receiving video calls?

From the management console, I can see the call details. it says following:
2019-02-07 08:39:43 send push wakeup message:{"addr" : "188.42.37.36:5090" , "callid" : "5ehgC7N8SwCOsaYIrPbWH-alsv9XCEy7hqWUPumeFGA" , "display_name" : "Name" , "sessionid" : "a66e39ff144dc1cc.1549528783.1559738_188.42.37.36" , "userid" : "[email protected]"}

and later

`
2019-02-07 08:39:43 Sent event to JS onPhoneEvent with params [{code = 480 ; headers = {} ; id = pSmjhaJ0TMG-bTFdRhWYVtgMYBhq2kC9meLUY1oblOc ; name = Call.Failed ; reason = User offline ; } ; ]

`
My Scenario

require(Modules.PushService)
VoxEngine.addEventListener(AppEvents.CallAlerting, function (e) {
  	trace(e);
    var newCall = VoxEngine.callUser(e.destination, e.callerid, e.displayName, e.headers, true);
    VoxEngine.easyProcess(e.call, newCall);
});

When the app is background, i cannot see anything from the xcode log nor rn debugger. What should I try next?

P.s. why there is only pushkit integrated to appdelegate.m, no callkit at all?

Thanks!

How to login?

I have cloned this project and built it to my Android device, but I can't login, it shows "Invalid username". Can you help me?

Video is not shown in case it is switched on/off on the fly

Hi, thank you for this awesome package

I faced with the following issue: when i make call between two devices, i start call as audio call. Then any side can switch to video stream. If i try to make sendVideo(true) from callee side - it's not shown on caller side until caller also switches sendVideo to true. Is it intended behaviour?

Anything is ok if caller switches video sending to true first

Could you point me what might be wrong? Thanks

react-native-voximplant v1.13.0
react-native v0.59.9

Unable to view video some times

Here is the log from xcode

: startCall called while in state 0
: Set remote native renderer 0x1b047b70
: Set preview native renderer 0x1b0dd5c0
: (Error) PS: Authentication failed. Code: 401.
: (Error) PS: MSPublishStreamsProtocol - 1102602980 Failed authentication. Error: __NSCFError:
Domain : streamsProtocolCoreErrorDomain
Code : 2
Desc : The Photo Stream server has rejected the user’s login credentials.
UserInfo: {
NSLocalizedDescription = "The Photo Stream server has rejected the user\U2019s login credentials.";
}
: (Error) PS: MSPublisher - 1102602980 Found authentication error. Will try again later...
: (Error) mstreamd: Encountered authentication error for personID 1102602980.
: (Note ) mstreamd: Ignoring authentication failure as we are already handling a previous authentication error.
: (Note ) mstreamd: Monitoring for external power.
: (Note ) mstreamd: We are waiting for the user to refresh their iCloud passcode. Not quitting.
: (Note ) PS: MSPublisher - 1102602980 Sending metadata...
: (Error) PS: Authentication failed. Code: 401.
: (Error) PS: MSPublishStreamsProtocol - 1102602980 Failed authentication. Error: __NSCFError:
Domain : streamsProtocolCoreErrorDomain

I am getting the authenitcation error some time.

Thanks
Basanth

Build does not work

Followed the exact steps described in README.

Error:

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.

Can you include a package-lock.json or yarn.lock file in the repository to ensure that the same packages are used?

System

Environment:
  OS: macOS High Sierra 10.13.5
  Node: 8.10.0
  Yarn: 1.3.2
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.4.1 Build version 9F2000
  Android Studio: 3.1 AI-173.4819257

What should happen on new notification?

Hello! Thank you for the demo application.

Now, I receive notifications which are just displayed as an usual push notifications. But I expected to see an incoming call screen with buttons accept/decline because it is a VoIP app.

I tried an example on Android with RN 0.56.0 and VI 1.1.1.

Error: Accessing 'ReactNative.createClass' from 'react-native' instead of 'react'

I have the Latest clone of the repositories and all other tools and I've followed the getting started Guide as it is. But still I'm getting this error:
Seems you're trying to access 'ReactNative.createClass' from the 'react-native' package. Perhaps you meant to access 'ReactNative.createClass' from the 'react' package instead ?

I've searched the complete code and the only such use of from 'react-native; is in the throwOnWrongReactAPI.js as a string which is responsible for printing this error.
Also, there is no usage such as ReactNative.createClass in the code.

Error: "CALL FAILED: not found "

here is my scenario : "VoxEngine.forwardCallToUserDirect();" and after that i type user display name and called but i got the error "CALL FAILED: not found"... i also put username but still got same error... can anyone help what i am doing wrong here

Install steps

Any reason the full demo application isn't in git? That way it could be setup like other demo apps where the only steps required is: git clone && npm install && npm/react-native run...

User to user audio/video call

Hi, I'm trying make user to user call, but I saw that there are functions which are not used like receiveVideo, _onCallConnected and others. So how it should be implemented?
In account I added scenario:

  const newCall = VoxEngine.callUserDirect(
    e.call, 
    e.destination,
    e.callerid,
    e.displayName,
    null
  );
  VoxEngine.easyProcess(e.call, newCall, ()=>{}, true);
});

Video is not showing sometime (peer to peer)

When I am using web application to connect to my mobile app(peer to peer). Sometimes the video not showing in mobile and web but the call is getting connected properly. Please let me know if there is any solution.

Also please do let me know fi there is any way to call without peer to peer from Websdk to mobile.app.

android demo failed while making build.

hi demo app when build it is giving these errors:

/Users/Apple/Downloads/react-native-demo-master/node_modules/@voximplant/react-native-foreground-service/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/Users/Apple/Downloads/react-native-demo-master/node_modules/@voximplant/react-native-foreground-service/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/Users/Apple/Downloads/react-native-demo-master/node_modules/@voximplant/react-native-foreground-service/android/build/intermediates/res/merged/release/values/values.xml:2714: error: resource android:attr/fontVariationSettings not found.
/Users/Apple/Downloads/react-native-demo-master/node_modules/@voximplant/react-native-foreground-service/android/build/intermediates/res/merged/release/values/values.xml:2715: error: resource android:attr/ttcIndex not found.
error: failed linking references.```

Getting error: Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).

`FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'VoximplantDemo'.

Could not resolve all files for configuration ':classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

  • Try:
    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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 4s
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html`

No getPackages( ) method in MainActivity.java

The Getting Started Guide states that: 'Add new VoxImplantReactPackage() to the list returned by the getPackages()method '. But there is nogetPackages() method in 'MainActivity.java'

Call failed: Not Found

Hi, I ran this repository for testing, but I could not communicate successfully.

Also i read previous issues but not resolved for me.

I created application from Marketplace with SDK Tutorial. It said Scenario, app and rules created.

But when i try call another user i'm always getting failed.

Scenario:
VoxEngine.forwardCallToUserDirect();

image

image

image

Call decline

After follow the setup instructions I got the automatic "Decline" when tried to call.

Is it necessary configure the push notifications to make the example work?

image
image

Installation

can you please provide the installation process completely

React Native 0.60 ios xcode cannot run, only show blank screen

If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-netinfo
2019-09-30 14:05:30.502 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module (calling runApplication)
2019-09-30 14:05:30.501737+0800 VoximplantDemo[25613:164397] Module AppRegistry is not a registered callable module (calling runApplication)
2019-09-30 14:05:30.502728+0800 VoximplantDemo[25613:164383] [] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2019-09-30 14:05:30.505510+0800 VoximplantDemo[25613:164383] [] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2019-09-30 14:05:30.508477+0800 VoximplantDemo[25613:164386] [] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2019-09-30 14:05:30.567 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Module AppRegistry is not a registered callable module (calling runApplication)
2019-09-30 14:05:30.566815+0800 VoximplantDemo[25613:164393] Unhandled JS Exception: Module AppRegistry is not a registered callable module (calling runApplication)

cannot understand remoteData.voximplant = notif.voximplant

Hi,

i cannot understand this part of the code

remoteData.voximplant = notif.voximplant;

since it seems that notif does not have voximplant property. Can you explain a bit more? Thank you!

FCM.on(FCMEvent.Notification, async (notif) => {
    var remoteData = {};
    remoteData.voximplant = notif.voximplant;
    pushManager.pushNotificationReceived(remoteData);
});

Callkit is banned in China

Recently, the Chinese Ministry of Industry and Information Technology (MIIT) requested that CallKit functionality be deactivated in all apps available on the China App Store.

During our review, we found that your app currently includes CallKit functionality and has China listed as an available territory in App Store Connect.

Next Steps

This app cannot be approved with CallKit functionality active in China. Please make the appropriate changes and resubmit this app for review.

If you have already ensured that CallKit functionality is not active in China, you may reply to this message in Resolution Center to confirm.

Voice over Internet Protocol (VoIP) call functionality continues to be allowed but can no longer take advantage of CallKit’s intuitive look and feel. CallKit can continue to be used in apps outside of China.

Could you provide example without a callkit please?
Is callkit required in this project?

Unable to Login

Hi,

I was able to login using previous version of the code but this version gives me:

"Login failed: error code: 500" it

How could I debug this info? It seems that no matter what password I use, the same error remains.

Thank you for the great API and demo!

Call failed. Reason: Not Found

Installed your demo application.
It was registered on your site.
I created an application and two users.
I launched two android emulator.
Authorized in each of them under different logins (admin and Konstantin).
On behalf of Constantine I try to dial by dialing "admin", but I get a message "Call failed. Reason: Not Found"

04-06 14:00:38.872  3950  4865 I ReactNativeJS: Login successful Константи
04-06 14:00:47.270  3950  4865 I ReactNativeJS: calling admin
04-06 14:00:47.864  3950  4865 W ReactNativeJS: Call failed. Code 404 Reason Not Found

App doesn't work

Hi,

I have this error message on running the app after all configuration :
library not found for -lVoxImplantSDK

I don't know why. All steps were done.

Call Failed: Not found issue - React Native

In Demo app I configured. app open successfully and logged into app. Then I typed username inside textfield("Call to" - placeholder textfield)

Then I clicked call button , then I got the issue, as below (isurugg is username i created from manage.voximplant.com then I called to isurugg from sameera's account)

Running application "VoximplantDemo" with appParams: {"rootTag":11}. DEV === true, development-level warning are ON, performance optimizations are OFF
infoLog.js:16
fx4g35sbaug:APA91bFK-Jl75fA-e7zUQmfiBsXjjs5SJyOnZfVp7GBT-R6u1CkCcKuQGzaC8IcBgzwN3FLDeIkkzw0pLuOCahKqzWz6zeV0343VvXDmVQ_-gJbFdh7O45Y2a883n0V_bP0VNT5LMmCi
PushManager.android.js:31
MainScreen: make call: isurugg, isVideo:false
MainScreen.js:83
CallManager: addCall:ViwsDYl37JfJHX8agxoA88gXOqAvK4tGNxCU
CallManager.js:42
CallScreen: ctr: callid: ViwsDYl37JfJHX8agxoA88gXOqAvK4tGNxCU, isVideoCall: false, isIncoming: false, callState: disconnected
CallScreen.js:60
CallScreen: _onCallEndpointAdded: callid: ViwsDYl37JfJHX8agxoA88gXOqAvK4tGNxCU endpoint id: ViwsDYl37JfJHX8agxoA88gXOqAvK4tGNxCU
CallScreen.js:223

Error: VIForegroundService: Foreground service failed to stop

Hi,
how to handle this ?

C:\proj\node_modules\react-native\Libraries\YellowBox\YellowBox.js:67 Possible Unhandled Promise Rejection (id: 0):
Error: VIForegroundService: Foreground service failed to stop
Error: VIForegroundService: Foreground service failed to stop

Unable to initiate a call when app enters foreground frommbackground.

Use Case:-

  1. App Login
  2. Take app in background
  3. Get app in foreground.
  4. Initiate call
  5. You will get undefined error in Catch

I debuged the native code and found that call object(VICall) is nil, only when user enters foregorund from background and connection established again.

if (_client) {
VICallSettings *callSettings = [[VICallSettings alloc] init];
callSettings.customData = customData;
callSettings.extraHeaders = headers;
callSettings.videoFlags = [VIVideoFlags videoFlagsWithReceiveVideo:[[videoFlags valueForKey:@"receiveVideo"] boolValue]
sendVideo:[[videoFlags valueForKey:@"sendVideo"] boolValue]];
callSettings.preferredVideoCodec = videoCodec;
VICall *call = [_client call:user settings:callSettings];
if (call) {
if (setupCallKit) {
[[VIAudioManager sharedAudioManager] callKitConfigureAudioSession:nil];
}
[CallManager addCall:call];
[call start];
callback(@[call.callId]);
} else {
callback(@[[NSNull null]]);
}
} else {
callback(@[[NSNull null]]);
}

User/password ?

How ca I create a new user ?

I tried to login with my gmail account but nothing happened

Screenshot 2019-05-31 at 09 15 22

User/pass

How ca I create a new user ?

I tried to login with my gmail account but nothing happened

Screenshot 2019-05-31 at 09 15 22

Error in Ios installation of plugin

Hi
I am trying to add voximplant npm in react native ios but I am getting this error again and again
"dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack
Referenced from: /Users/netset/Library/Developer/CoreSimulator/Devices/617330EF-27D9-42C7-82EE-1DC99A381F05/data/Containers/Bundle/Application/4FACB3CA-A6D8-4E94-BB35-0F863BDAF536/Levelz.app/Frameworks/VoxImplant.framework/VoxImplant
Reason: image not found"

Can you please help me out into this issue?

GetCallHistory Method With Faulty Return

Hello!

I have been using the GetCallHistory method from https://voximplant.com/docs/references/httpapi/managing_history#getcallhistory

From the documentation:

user_id: string
The user ID list separated by the ';' symbol. If it's specified the output will contain only calls from/to any VoxImplant SDK related to the specified user.

This is exactly what I need, as I input the user_id in my API call to get the calls from AND to that user. However, with this call:
https://api.voximplant.com/platform_api/GetCallHistory/?account_id=<acc_id>&api_key=<api_key>&user_id=<user_id>

It only returns the calls made FROM the given user_id, and not those TO the user_id.

Any help is appreciated,
Ralfi

Cant able to run the demo

I have followed the steps that are given to run theis demo app. evertything works fine. Once the app is got installed in ios it is showing exception as

dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack
Referenced from: /private/var/containers/Bundle/Application/E26B0502-56CA-408A-8037-8A3D84376501/VoximplantDemo.app/Frameworks/VoxImplant.framework/VoxImplant
Reason: image not found

I cant bale to find solution for this in the issues. Please help

Call failed

After login,In "Call to" section when I enter another user's username It always show "Call Failed:Not found".

Login Issue

I can Login this app but alert message generate username incorrect

error 500 on login

[com.voximplant.sm]:[Connected, 2] > pingSendDelayed 
2018-04-23 11:25:50:916 VoxImplantDemo[12800:1399868] #VI INF [com.facebook.react.VoxImplantModuleQueue]:[Connected, 2] > loginWithUser:password: 
2018-04-23 11:25:50:917 VoxImplantDemo[12800:1399868] #VI INF [com.voximplant.sm]:[Connected, 3] > --> [TryLogin, 3] 
2018-04-23 11:25:51:623 VoxImplantDemo[12800:1399869] #VI INF [com.voximplant.sm]:[TryLogin, 3] > <=== {"name" : "loginFailed" , "params" : [500]} 
2018-04-23 11:25:51:623 VoxImplantDemo[12800:1399869] #VI ERR [com.voximplant.sm]:[TryLogin, 3] > Login failed: error: 500 
2018-04-23 11:25:51:623 VoxImplantDemo[12800:1399869] #VI INF [com.voximplant.sm]:[TryLogin, 3] > --> [Connected, 3] 
2018-04-23 11:25:51.624 [info][tid:com.facebook.react.JavaScript] Login failed: error code: 500
2018-04-23 11:25:52:221 VoxImplantDemo[12800:1399819] #VI INF [com.voximplant.sm]:[Connected, 2] > pingSendDelayed 

try to login on iOS it said Internal Error

Can't Retrieve displayName() of Called User

Hello!

Quick question, here is my scenario:
require(Modules.ASR); VoxEngine.forwardCallToUser(function(call1, call2){ call1.record({stereo: true, transcribe: true, labels: [call1.displayName(), call2.displayName()], language: ASRLanguage.ENGLISH_US}) });

However, here is my transcription:

user 00:00:00 - 00:00:01 : hello
[email protected] 00:00:01 - 00:00:03 : hello my friend

As you can see here, I expected "user" to be the person I called, however no matter what I do, call2.displayName() returns "user".

Any thoughts? Thanks!
Ralfi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.