RTCView doesn't show the full view of the incoming media stream

How do I make RTCView show the full view of the incoming video ?

I am using react-native-webrtc@124.0.4

<View
        style={{
          flex: 1,
          backgroundColor: '#050A0E',
          paddingHorizontal: 1,
          paddingVertical: 1,
          width: '100%',
          height: '100%'
        }}>
        {remoteStream ? (
          <RTCView
            objectFit={'cover'}
            style={{
              flex: 1,
              backgroundColor: '#050A0E',
              marginTop: 1,
            }}
            streamURL={remoteStream.toURL()}
          />
        ) : null}
      </View>

ok, i found a way. I have to use ‘contain’ instead of ‘cover’ for objectFit parameter