# Enabling optimization for video appears to also enable sharing of computer sound

**URL:** <https://devforum.zoom.us/t/enabling-optimization-for-video-appears-to-also-enable-sharing-of-computer-sound/91856>\
**Category:** Meeting SDK\
**Created:** [July 15, 2023, 3:31am UTC](https://devforum.zoom.us/t/enabling-optimization-for-video-appears-to-also-enable-sharing-of-computer-sound/91856 "2023-07-15T03:31:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![branden](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/branden/32/50272_2.png) [@branden](https://devforum.zoom.us/u/branden)\
**Post date:** [July 15, 2023, 3:31am UTC](https://devforum.zoom.us/t/enabling-optimization-for-video-appears-to-also-enable-sharing-of-computer-sound/91856/1 "2023-07-15T03:31:40Z")

</div>

**Meeting SDK Type and Version**  
Windows C# Wrapper v5.15.2.18146

**Description**  
We’ve got an app that utilizes the **EnableOptimizeForFullScreenVideoClip** of **IMeetingShareController** and we also utilize the **EnableShareComputerSound** method as well. We discovered that the _order_ of calling these methods appears to matter. If we call **EnableShareComputerSound** prior to **EnableOptimizeForFullScreenVideoClip** , no matter what value we pass it, the computer sound is shared. It’s only when we call **EnableOptimizeForFullScreenVideoClip** , and then **EnableShareComputerSound** to turn of sound sharing that it works.

**Troubleshooting Routes**  
We tested this with both the most recent 5.15 and 5.14 and it seems to happen with both.

**How To Reproduce**

1. Start a meeting
2. Get the meeting share controller instance
3. Call the **EnableShareComputerSound** method of the meeting share controller instance, passing it **false**
4. Call the **EnableOptimizeForFullScreenVideoClip** method of the meeting share controller instance, passing it **true**
5. Start sharing the screen by calling the **StartMonitorShare** method of the meeting share controller instance.
6. The app will now be sharing it’s screen and sharing it’s sound.
