Open Wayne-nulitics opened 8 months ago
@Wayne-nulitics Thanks for your feedback! We will investigate and update as appropriate.
@Wayne-nulitics Thanks for the feedback! Here is a Unity sample of utilizing raw video streams in Unity.
Check this updated sample doc link- https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-raw-media-access?pivots=platform-unity
Please let us know if further query or issue remains.
We will close this out but if you feel you need more information please just let us know.
Unfortionatly this is still not working, nothing was changed on the Github sample, the code is still as it was 3 weeks ago, so not sure what was updated in the sample link as the code is the same as 3 weeks ago.
To further clarify, following the link you sent there is a section mid way down the page: .....
If you then click the Github link, you get back to the original sample code from 3 weeks ago ... so what was fixed?
@Wayne-nulitics Thanks for the feedback! I have assigned the issue to the respective team to review further and update the document as appropriate.
The project does not import correctly. https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/Unity
Once "fixed" it does not link to the correct unity package, the only package available from "https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/getting-started-with-calling" is "com.azure.communication.calling-1.0.0-beta.1" and the project requires "com.azure.communication.calling-1.0.0-beta.2" This can be fixed using the latest Features Tool.
Then the actual RawVideo.unity file is broken with missing links. After that is "fixed" the calling initializes but then fails with the following error, and only garbles video is show in the rawimage:
InvalidOperationException: Sequence contains no elements System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <1c318258bf0843289b0e2cbe692fee39>:0) App.OnStateChanged (System.Object sender, Azure.Communication.Calling.UnityClient.PropertyChangedEventArgs args) (at Assets/Scripts/App.cs:85) Azure.Communication.Calling.UnityClient.CallBase.StateChangedStaticHandler (System.UInt64 cookie, System.IntPtr e) (at Library/PackageCache/com.azure.communication.calling@1faccfc27ffd/Runtime/Azure.Communication.Calling.UnityClient/Azure.Communication.Calling.UnityClient.cs:7482) (wrapper native-to-managed) Azure.Communication.Calling.UnityClient.CallBase.StateChangedStaticHandler(ulong,intptr) UnityEngine.<>c:b__0_0(Object, UnhandledExceptionEventArgs)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.