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

**URL:** <https://react-native-webrtc.discourse.group/t/rtcview-doesnt-show-the-full-view-of-the-incoming-media-stream/2049>\
**Category:** Help\
**Created:** [September 3, 2024, 7:33pm UTC](https://react-native-webrtc.discourse.group/t/rtcview-doesnt-show-the-full-view-of-the-incoming-media-stream/2049 "2024-09-03T19:33:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagaK](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/nagak/32/847_2.png) [@nagaK](https://react-native-webrtc.discourse.group/u/nagaK)\
**Post date:** [September 3, 2024, 7:33pm UTC](https://react-native-webrtc.discourse.group/t/rtcview-doesnt-show-the-full-view-of-the-incoming-media-stream/2049/1 "2024-09-03T19:33:22Z")

</div>

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

I am using `react-native-webrtc@124.0.4`

```auto
<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>

```

---

<div class="post-metadata">

**Author:** ![nagaK](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/nagak/32/847_2.png) [@nagaK](https://react-native-webrtc.discourse.group/u/nagaK)\
**Post date:** [September 3, 2024, 7:35pm UTC](https://react-native-webrtc.discourse.group/t/rtcview-doesnt-show-the-full-view-of-the-incoming-media-stream/2049/2 "2024-09-03T19:35:33Z")

</div>

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