Cannot join meeting because the meeting link is invalid (android-sdk)

Hoang Nguyen 0 Reputation points
2024-06-26T07:44:15.0866667+00:00

Minimal steps to reproduce

String meetingLink = "https://teams.live.com/meet/xxxxxxx?p=yyyyyyy";

TeamsMeetingLinkLocator teamsMeetingLinkLocator = new TeamsMeetingLinkLocator(meetingLink);
  • Build and Run the app on android device.

Log

E  FATAL EXCEPTION: main
Process: com.contoso.acsquickstart, PID: 28339
com.azure.android.communication.calling.CallingCommunicationException: Can't join call because invalid teams meeting link
	at com.azure.android.communication.calling.NativeLibraryHelpers.checkStatus(NativeLibraryHelpers.java:288)
	at com.azure.android.communication.calling.CallAgent.joinInternal(CallAgent.java:165)
	at com.azure.android.communication.calling.CallAgent.join(CallAgent.java:251)
	at com.contoso.acsquickstart.MainActivity.joinTeamsMeeting(MainActivity.java:79)
	at com.contoso.acsquickstart.MainActivity.lambda$onCreate$0$MainActivity(MainActivity.java:46)
	at com.contoso.acsquickstart.-$$Lambda$MainActivity$3djR4rWnSHXW7DfAvror0YWBYps.onClick(Unknown Source:2)
	at android.view.View.performClick(View.java:7467)
	at android.view.View.performClickInternal(View.java:7444)
	at android.view.View.access$3700(View.java:840)
	at android.view.View$PerformClick.run(View.java:28831)
	at android.os.Handler.handleCallback(Handler.java:980)
	at android.os.Handler.dispatchMessage(Handler.java:104)
	at android.os.Looper.loopOnce(Looper.java:238)
	at android.os.Looper.loop(Looper.java:357)
	at android.app.ActivityThread.main(ActivityThread.java:8098)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)

Expected/desired behavior

Can join the meeting

OS and Version?

Ubuntu 18.04

Android: 11

SDK Versions

com.azure.android:azure-communication-calling:2.8.0'

Mention any other details that might be useful

I was able to join meeting through browser, but cannot join using sdk.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
895 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.