![]() The control doesn't initialize automatically on page load.The properties " API Key" and " Local User" were removed.In this version, Sinch requires a new 'Token' to be passed in order to initialize. VCRegisterActiveUser(&LocalClientId, ClientInformation.DeviceType) VideoCallView.startVideoCallClient(&APIKey.ToString(), &APIHost.ToString(), &LocalClientId.ToString(), &UserToken.ToString()) &UserToken = VCGetAuthJWT(&LocalClientId, &APIKey, &APISecret, &ErrorMessage) Get the new Token using the following procedure (LocalClientId should represent the current user): e.g: VideoCallSampleGetAPIData(&APIKey, &APISecret, &APIHost Therefore, the initialization of the SDK must be migrated to the following: The method " initClient" was renamed and changed to " startVideoCallClient", and the parameters were changed, to accept the new initialization method.The properties " API Key", " API Secret" and " API Host" were removed.The following changes were made to the User control, to adapt to the new features: In this version, Sinch requires a new 'Token' to be passed to the SDK in order to initialize. Step 5: Migrate your Panel/Web Panel code to match new requirements: Migrate User code on Native Mobile The file can be copied from the model's target path, e.g.: "\Web\wwpvideocall-sw.js" If you are using GeneXus "Deploy to Cloud" with the Java generator, you must manually copy the. In case of using a deployment unit, simply add the file to all your deployment units. Please note that Service Workers requires "https" protocol to be used (only localhost can be used with HTTP).Īmong the resources imported on Step 3, a new "File" containing the Service Worker javascript is distributed.īy default, this file will copy itself to the Web model automatically, but if you are using a Deployment Unit or "Deploy to Cloud" in Java you will need to add the file manually. Sinch web client requires the registration of a Service Worker in order to work properly. \UserControls\WorkWithPlusVideoCallWeb\WWPVideoCallWebResources.xml ![]() The user must re-import the resources from the following 'xpz' file: The user must import 2 GeneXus modules (provided they are not already installed): ![]() Use the setup (you can download it from our download site) to update the product. WorkWithPlus for VideoCall 5 requires some migrations in the GeneXus code:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |