microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
908 stars 282 forks source link

Error in add local media tracks ---> C# Tutorial (Desktop) #368

Open DanielSeifi opened 4 years ago

DanielSeifi commented 4 years ago

Hello

In Add local media tracks, section C # Tutorial (Desktop) does not detect and give an error when I add LocalVideoTrack. please help.

https://microsoft.github.io/MixedReality-WebRTC/manual/cs/helloworld-cs-mediatracks-core3.html

osmanaymaz commented 4 years ago

I have same problem. In addition, PeerConnection's AddTransceiver method can not be found in Microsoft.MixedReality.WebRTC namespace.

osmanaymaz commented 4 years ago

I guess, the problem is solved in the following pr.

https://github.com/microsoft/MixedReality-WebRTC/pull/369

DanielSeifi commented 4 years ago

No, it still gives an error

djee-ms commented 4 years ago

If AddTransceiver cannot be found that means you're using the 1.0 API from the NuGet packages, and looking at the documentation for the 2.0 API present on the master branch. Change the drop-down in the top right of the docs page to look at the release/1.0 docs, or use the sources from the master branch and stop using the NuGet packages. There is no NuGet package for the 2.0 API yet since the 2.0 release is in preparation.

DanielSeifi commented 4 years ago

Error in "// Execute the native async callback"