Skip to content

Commit

Permalink
fix. ios uint
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrixbirds committed Aug 7, 2019
1 parent a302755 commit 769cd86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ios/RCTAgora/RCTAgoraVideoView.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@property (strong, nonatomic) AgoraRtcEngineKit *rtcEngine;
@property (nonatomic) BOOL showLocalVideo;
@property (nonatomic) NSInteger remoteUid;
@property (nonatomic) NSUInteger remoteUid;
@property (nonatomic) NSInteger renderMode;

@end
4 changes: 2 additions & 2 deletions ios/RCTAgora/RCTAgoraVideoView.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ - (void)setShowLocalVideo:(BOOL)showLocalVideo {
}
}

-(void)setRemoteUid:(NSInteger)remoteUid {
-(void)setRemoteUid:(NSUInteger)remoteUid {
_remoteUid = remoteUid;
AgoraRtcVideoCanvas *canvas = [[AgoraRtcVideoCanvas alloc] init];
if (_remoteUid > 0) {
if (_remoteUid != 0) {
canvas.uid = _remoteUid;
canvas.view = self;
canvas.renderMode = _renderMode;
Expand Down

0 comments on commit 769cd86

Please sign in to comment.