# Recording parametre is impacting screen sharing

**URL:** <https://openvidu.discourse.group/t/recording-parametre-is-impacting-screen-sharing/2530>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [January 5, 2021, 10:54am UTC](https://openvidu.discourse.group/t/recording-parametre-is-impacting-screen-sharing/2530 "2021-01-05T10:54:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youness\_Atouani](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/youness_atouani/32/477_2.png) [@Youness\_Atouani](https://openvidu.discourse.group/u/Youness_Atouani)\
**Post date:** [January 5, 2021, 10:54am UTC](https://openvidu.discourse.group/t/recording-parametre-is-impacting-screen-sharing/2530/1 "2021-01-05T10:54:37Z")

</div>

Hello,

when create session with this parameter :

SessionProperties properties = new SessionProperties.Builder()  
.recordingMode(RecordingMode.ALWAYS)  
.defaultRecordingLayout(RecordingLayout.CUSTOM) .defaultOutputMode(Recording.OutputMode.COMPOSED\_QUICK\_START)  
.build();

Session session = this.openVidu.createSession(properties);

show this error message and the sharescreen no longer works well

 ![recording](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/8/84f4decc6d288e1e44127c90bd29837fb573b0c4.png)

but without recored parametre works very well.

thank you
