Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

getservices on MCU 2.5

Abdulaziz_A_
Beginner
145 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
145 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