Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

getservices on MCU 2.5

Abdulaziz_A_
Beginner
214 Views

i am trying to use the same code from the sample app to get the services running on the server on my machine. but i get strange exception and no response from the server.

here is the log:

08-10 16:38:29.681  19313-19313/com.avidbeam.avbwebrtcconfclient I/SettingsFragment﹕ Getting Services
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient I/SettingsFragment﹕ manager.getServices()
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient D/WooGeen-ManagerClient﹕ GetServicess
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient I/SettingsFragment﹕ java.lang.NumberFormatException: Invalid int: "3000services"
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ com.intel.webrtc.base.WoogeenException: java.lang.NumberFormatException: Invalid int: "3000services"
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at com.intel.webrtc.conference.manager.ManagerClient$ManagerHandler.handleMessage(ManagerClient.java:578)
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at android.os.Looper.loop(Looper.java:145)
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at android.os.HandlerThread.run(HandlerThread.java:61)

 

here is the code that gets executed :

ManagerClient managerClient = new ManagerClient("http://196.202.104.102:3000", "545b9c625fb30a63624b83ba", "30703");

        try {
            Log.i(GlobalEntities.SETTINGS_FRAGMENT_TAG, "manager.getServices()");
            servicesList = managerClient.getServices();
            Log.i(GlobalEntities.SETTINGS_FRAGMENT_TAG, "manager.getServices() DONE"+servicesList.size());
            for(int i=0 ; i<servicesList.size() ; i++){
                serviceNamesList.add(servicesList.get(i).getName());
            }

 

the second log does get executed.

Thanks in advance.

 

0 Kudos
1 Reply
Chunbo_H_Intel1
Employee
214 Views

Our QA tried the same code and it works as expected. So the question is that what is the definition of 'servicesList' here?

And I suppose you're using the latest v2.5. Right?

Reply