# How can I make customised constraints?

**URL:** <https://react-native-webrtc.discourse.group/t/how-can-i-make-customised-constraints/1318>\
**Category:** Help\
**Created:** [July 26, 2021, 11:12am UTC](https://react-native-webrtc.discourse.group/t/how-can-i-make-customised-constraints/1318 "2021-07-26T11:12:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagark1510](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/sagark1510/32/489_2.png) [@sagark1510](https://react-native-webrtc.discourse.group/u/sagark1510)\
**Post date:** [July 26, 2021, 11:12am UTC](https://react-native-webrtc.discourse.group/t/how-can-i-make-customised-constraints/1318/1 "2021-07-26T11:12:11Z")

</div>

If I start the call with `mediaConstraint = {audio: true, video: false}`

How can I later turn the `video: true` and let the other peers know I have started video too? This I need because I have feature where user can start with audio only and later while having the call he can turn on/off the video. And if I enable the `video` constraint from the beginning it will ask for camera permission on the app which is bad user experience. How can I handle or fix this issue?
