Laerdal / Xamarin.AzureCommunicationCalling

Xamarin iOS and Android binding libraries for Microsofts Azure Communication Services
MIT License
35 stars 11 forks source link

How to do direct video call? #20

Closed MhAllan closed 3 years ago

MhAllan commented 3 years ago

I can't see how to do a video call to one user. I see call to a group only, and I don't know where does the group id come from. could you please ad some documentation

tompi commented 3 years ago

Hi @MhAllan

This is just a wrapper for Microsoft APIs, so check out their documentation here:

ios: https://docs.microsoft.com/en-us/objectivec/communication-services/calling/ android: https://docs.microsoft.com/en-us/java/api/com.azure.android.communication.calling?view=communication-services-java-android

tompi commented 3 years ago

Oh, and the group id is just a random Guid, you can just make up whatever you want

MhAllan commented 3 years ago

Thanks for quick reply @tompi . I am looking for this piece of code

call = callAgent.startCall(
            context,
            participants,
            options);

found here: https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling?pivots=platform-android

but CallAgent of your wrapper doesn't have such a method

tompi commented 3 years ago

@MhAllan You are correct, my binding is currently stuck on beta-7, until I figure out a workaround for #18

On beta-7 the same method was called "Call". Try using that!

MhAllan commented 3 years ago

Thanks @tompi, I will try that. re #18 if you have branch with all new dependencies ready please share it so we can try our luck XD. I only see master