Update .gitignore
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#import "sdk/objc/base/RTCVideoCapturer.h"
|
||||
#import "sdk/objc/components/capturer/RTCCameraVideoCapturer.h"
|
||||
|
||||
void LKPrintDevices() {
|
||||
NSArray<AVCaptureDevice*>* devices = [RTCCameraVideoCapturer captureDevices];
|
||||
[devices enumerateObjectsUsingBlock:^(AVCaptureDevice* device, NSUInteger i,
|
||||
BOOL* stop) {
|
||||
NSLog(@"%@", device.localizedName);
|
||||
NSLog(@"%@", device.uniqueID);
|
||||
NSLog(@"%@", device.modelID);
|
||||
}];
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "peer_connection_factory.h"
|
||||
#include <iostream>
|
||||
#include "objc_test.h"
|
||||
|
||||
namespace lk{
|
||||
|
||||
@@ -33,6 +34,8 @@ namespace lk{
|
||||
}
|
||||
|
||||
std::unique_ptr<PeerConnectionFactory> CreatePeerConnectionFactory() {
|
||||
LKPrintDevices(); // Just a tess
|
||||
|
||||
return std::make_unique<PeerConnectionFactory>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user