File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdk/objc/api/peerconnection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ - (BOOL)setDevicesUpdatedHandler: (nullable RTCOnAudioDevicesDidUpdate) handler
261261 _native->PlayoutDeviceName (i, name, guid);
262262 NSString *strGUID = [[NSString alloc ] initWithCString: guid encoding: NSUTF8StringEncoding];
263263 NSString *strName = [[NSString alloc ] initWithCString: name encoding: NSUTF8StringEncoding];
264- RTC_OBJC_TYPE (RTCIODevice) *device = [[RTC_OBJC_TYPE (RTCIODevice) alloc ] initWithType: RTCIODeviceTypeOutput deviceId: strGUID name: strName];
264+ RTC_OBJC_TYPE (RTCIODevice) *device = [[RTC_OBJC_TYPE (RTCIODevice) alloc ] initWithType: RTC_OBJC_TYPE ( RTCIODeviceTypeOutput) deviceId: strGUID name: strName];
265265 [result addObject: device];
266266 }
267267 }
@@ -283,7 +283,7 @@ - (BOOL)setDevicesUpdatedHandler: (nullable RTCOnAudioDevicesDidUpdate) handler
283283 _native->RecordingDeviceName (i, name, guid);
284284 NSString *strGUID = [[NSString alloc ] initWithCString: guid encoding: NSUTF8StringEncoding];
285285 NSString *strName = [[NSString alloc ] initWithCString: name encoding: NSUTF8StringEncoding];
286- RTC_OBJC_TYPE (RTCIODevice) *device = [[RTC_OBJC_TYPE (RTCIODevice) alloc ] initWithType: RTCIODeviceTypeInput deviceId: strGUID name: strName];
286+ RTC_OBJC_TYPE (RTCIODevice) *device = [[RTC_OBJC_TYPE (RTCIODevice) alloc ] initWithType: RTC_OBJC_TYPE ( RTCIODeviceTypeInput) deviceId: strGUID name: strName];
287287 [result addObject: device];
288288 }
289289 }
You can’t perform that action at this time.
0 commit comments