Skip to content
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

WebRTCStream.cpp error at webrtc::VideoType::kNV12 in [OBS-studio-webrtc m104-28.0.1] #358

Open
AhreemaSheikh opened this issue Oct 6, 2022 · 0 comments

Comments

@AhreemaSheikh
Copy link

AhreemaSheikh commented Oct 6, 2022

I am working to compile [OBS-studio-webrtc m104-28.0.1]. I am using webrtc.lib and header files from WebRTC version m104.
As a result, I get a compilation error originating from WebRTCStream.cpp:

C:\Users\ahreema\Documents\OBS-studio-webrtc\plugins\obs-outputs\WebRTCStream.cpp(949,34): error C2838: 'kI444': illega l qualified name in member declaration [C:\Users\ahreema\Documents\OBS-studio-webrtc\build64_Millicast\plugins\obs-outp uts\obs-outputs.vcxproj] C:\Users\ahreema\Documents\OBS-studio-webrtc\plugins\obs-outputs\WebRTCStream.cpp(949,39): error C2065: 'kI444': undecl ared identifier [C:\Users\ahreema\Documents\OBS-studio-webrtc\build64_Millicast\plugins\obs-outputs\obs-outputs.vcxproj ] C:\Users\ahreema\Documents\OBS-studio-webrtc\plugins\obs-outputs\WebRTCStream.cpp(951,34): error C2838: 'kNV12': illega l qualified name in member declaration [C:\Users\ahreema\Documents\OBS-studio-webrtc\build64_Millicast\plugins\obs-outp uts\obs-outputs.vcxproj] C:\Users\ahreema\Documents\OBS-studio-webrtc\plugins\obs-outputs\WebRTCStream.cpp(951,39): error C2065: 'kNV12': undecl ared identifier [C:\Users\ahreema\Documents\OBS-studio-webrtc\build64_Millicast\plugins\obs-outputs\obs-outputs.vcxproj ]

image

I have checked this error. It occurred because the enum "webrtc::VideoType" does not include "kI444" and "kNV12" in WebRTC version m104. These video types are available in m84 and previous versions.

Can anyone please let me know which WebRTC version should I use with "OBS-studio-webrtc m104-28.0.1" and how it is determined?

@AhreemaSheikh AhreemaSheikh changed the title WebRTC library error at webrtc::VideoType::kNV12 WebRTCStream.cpp error at webrtc::VideoType::kNV12 in [OBS-studio-webrtc m104-28.0.1] Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant