-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity import package error for CaptureStream arguments changed. #2
Comments
I found this is the API change for Unity WebRTC. In 2.0, https://docs.unity3d.com/Packages/com.unity.webrtc@2.0/api/Unity.WebRTC.CameraExtension.html In 2.4, https://docs.unity3d.com/Packages/com.unity.webrtc@2.4/api/Unity.WebRTC.CameraExtension.html The third parameter |
It's been removed by this PR Unity-Technologies/com.unity.webrtc#498 So should use 2.4.0-exp.11 or higher version. Please see https://github.com/ossrs/srs-unity#environments for details. |
Fixed in v1.0.1 |
After import:Assets\ossrs.io\Video Streaming and WebRTC Samples\Streamer\SrsStreamer.cs(96,64): error CS1503: Argument 4: cannot convert from 'int' to 'Unity.WebRTC.RenderTextureDepth'
Version:unity2021.3.6f1, webRTC v3.0.0-pre.2-December 09, 2022
The text was updated successfully, but these errors were encountered: