-
Notifications
You must be signed in to change notification settings - Fork 2
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
React native vb #1
base: master
Are you sure you want to change the base?
Conversation
@@ -15,7 +15,7 @@ Everyone is welcome to our [Discourse community](https://react-native-webrtc.dis | |||
|
|||
## WebRTC Revision | |||
|
|||
* Currently used revision: [M100](https://github.com/jitsi/webrtc/releases/tag/v100.0.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check latest jitsi webrtc version
@@ -141,13 +141,6 @@ - (instancetype)initWithDelegate:(__weak id<RTCVideoCapturerDelegate>)delegate { | |||
return self; | |||
} | |||
|
|||
- (void)setConnection:(SocketConnection *)connection { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you remove it
@@ -96,6 +100,17 @@ - (void)startCapture { | |||
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); | |||
|
|||
__weak VideoCaptureController *weakSelf = self; | |||
|
|||
if (self.vb) { | |||
// Selfie Segmentator library requires kCVPixelFormatType_32BGRA format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update comment with MLKit
NSDictionary *videoContraints = constraints[@"video"]; | ||
RTCCameraVideoCapturer *videoCapturer; | ||
|
||
NSLog(@"Video constraint in create video track: %@", videoContraints); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change NSLog with RCTLog
@@ -114,6 +130,9 @@ - (RTCVideoTrack *)createScreenCaptureVideoTrack { | |||
RCT_EXPORT_METHOD(getUserMedia:(NSDictionary *)constraints | |||
successCallback:(RCTResponseSenderBlock)successCallback | |||
errorCallback:(RCTResponseSenderBlock)errorCallback) { | |||
|
|||
NSLog(@"Video constraint in RTCMediaStream get user media %@", constraints); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can change it with RCTLog
HI, can someone please help my problem: https://stackoverflow.com/questions/73554691/react-native-ios-error-build-undefined-symbol-objc-class-selfiesegmentator, I got this error and I can not run this project |
No description provided.