Open yongFine opened 7 years ago
(RTCMediaConstraints )defaultMediaStreamConstraints { RTCPair minWidth = [[RTCPair alloc] initWithKey:@"minWidth" value:@"640"]; RTCPair minHeight = [[RTCPair alloc] initWithKey:@"minHeight" value:@"480"]; NSArray mandatory = @[ minWidth ,minHeight];
RTCMediaConstraints *constraints = [[RTCMediaConstraints alloc] initWithMandatoryConstraints:mandatory optionalConstraints:nil]; return constraints; }
the video size is 640*480 how to change