# Sharing dispState value incorrect

**URL:** <https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949>\
**Category:** API and Webhooks\
**Created:** [January 11, 2019, 8:10pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949 "2019-01-11T20:10:44Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aveo\_Systems](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aveo_systems/32/976_2.png) [@Aveo\_Systems](https://devforum.zoom.us/u/Aveo_Systems)\
**Post date:** [January 11, 2019, 8:10pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/1 "2019-01-11T20:10:44Z")

</div>

I am trying to use the result of “zStatus Sharing” to determine the instructions the ZR is showing on the screen so my controller app can display the same instructions. However, the “dispState” value seems to be incorrect sometimes.

One example:

1. Start a presentation-only meeting and display laptop sharing instructions via: "zCommand Dial Sharing Duration: 30 Displaystate: Laptop Password: ".
2. Send “zStatus Sharing”.
3. Observe in the response that “dispState” is “None” even though instructions are being shown on the Zoom Room display.

This seems like a bug to me. Does anyone have any thoughts, workarounds, or timeline for a fix?

I am running Beta 15 on a Mac Mini.

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![Scott\_Firestone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone/32/568_2.png) [@Scott\_Firestone](https://devforum.zoom.us/u/Scott_Firestone)\
**Post date:** [January 12, 2019, 3:31am UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/2 "2019-01-12T03:31:28Z")

</div>

We do in fact have a bug. Actually, it’s a pair of bugs; one of the sharing notifications is missing on the mac, and the other sharing notification is missing on Windows: We’re working on these:

ZOOM-68586: WinZR: Sharing message missing

For the ZAAPI CLI, you get:

\*e SharingState state: Receiving

But you don’t get:

\*s Sharing isDirectPresentationConnected: on

ZOOM-68587: MacZR: Sharing message missing

For the ZAAPI CLI, you get:

\*s Sharing isDirectPresentationConnected: on

But you don’t get:

\*e SharingState state: Receiving

---

<div class="post-metadata">

**Author:** ![Scott\_Firestone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone/32/568_2.png) [@Scott\_Firestone](https://devforum.zoom.us/u/Scott_Firestone)\
**Post date:** [January 12, 2019, 3:56am UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/3 "2019-01-12T03:56:54Z")

</div>

It looks like there has been an update. In our latest code base, the situation for Mac and Windows is:

For the ZAAPI CLI, you get:

\*s Sharing isDirectPresentationConnected: on

But you don’t get:

\*e SharingState state: Receiving

Our ship date slipped to January 27th, so we’ll consider pushing out a beta 16 with this update.

---

<div class="post-metadata">

**Author:** ![Aveo\_Systems](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aveo_systems/32/976_2.png) [@Aveo\_Systems](https://devforum.zoom.us/u/Aveo_Systems)\
**Post date:** [January 12, 2019, 1:10pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/4 "2019-01-12T13:10:21Z")

</div>

Thanks!

You’re mentioning '\*s Sharing IsDirectPresentationConnected" and “\*e SharingState state”, although the problem I’m seeing is with “\*s Sharing dispState”. Are the issues related?

---

<div class="post-metadata">

**Author:** ![Zach](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@Zach](https://devforum.zoom.us/u/Zach)\
**Post date:** [January 15, 2019, 1:30am UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/5 "2019-01-15T01:30:45Z")

</div>

@Aveo_Systems

Hello, we are currently investigating this issue.

---

<div class="post-metadata">

**Author:** ![steve.joiner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steve.joiner/32/593_2.png) [@steve.joiner](https://devforum.zoom.us/u/steve.joiner)\
**Post date:** [January 21, 2019, 2:16pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/6 "2019-01-21T14:16:01Z")

</div>

Any info on if you were able to reproduce this issue and if there will be a fix in the next beta release?

Thanks,  
Steve (from Aveo Systems)

---

<div class="post-metadata">

**Author:** ![Scott\_Firestone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone/32/568_2.png) [@Scott\_Firestone](https://devforum.zoom.us/u/Scott_Firestone)\
**Post date:** [January 21, 2019, 5:21pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/7 "2019-01-21T17:21:49Z")

</div>

We fixed this item. There is one other item we are trying to fix, and we may have a beta 16.

Also: Yesterday we pushed out a new version of the desktop clients for Mac/Windows/Linux; the look and feel is quite different.

-Scott

---

<div class="post-metadata">

**Author:** ![Scott\_Firestone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone/32/568_2.png) [@Scott\_Firestone](https://devforum.zoom.us/u/Scott_Firestone)\
**Post date:** [January 23, 2019, 5:23pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/8 "2019-01-23T17:23:41Z")

</div>

The dispState bug was fixed for beta 16:

[https://ota.zoom.us/ZoomRooms/ZRCSAPI/](https://ota.zoom.us/ZoomRooms/ZRCSAPI/)

-scott

---

<div class="post-metadata">

**Author:** ![steve.joiner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steve.joiner/32/593_2.png) [@steve.joiner](https://devforum.zoom.us/u/steve.joiner)\
**Post date:** [January 26, 2019, 9:07pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/9 "2019-01-26T21:07:28Z")

</div>

I tested this with Beta 16, and that case works now. Thank you.

However, there is at least one other case where dispState is out of sync.

1. Start a sharing-only meeting with HDMI content (via BlackMagic) using: "zCommand Dial Sharing Duration: 30 Displaystate: None Password: "
2. Disconnect or stop the HDMI content source so that it is no longer sending an HDMI signal to the Zoom Room computer.
3. Observe that the Zoom Room now shows laptop sharing instructions, but a zStatus Sharing message gets sent that has dispState “None”.

Not sure if you prefer to see this issue on this thread or if I should start a new one.

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![Zach](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@Zach](https://devforum.zoom.us/u/Zach)\
**Post date:** [January 28, 2019, 7:04pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/10 "2019-01-28T19:04:37Z")

</div>

Hello Steve,

Yes, I have reproduced the issue. If you use “zCommand Dial Sharing Duration: 30 Displaystate: None Password:” and then starting sharing anyways, once the sharing ends it will automatically display the instructions for the source of what you shared on the screen without updating dispState. I don’t think a displayState input of “none” is ever suppose to be used in that function though since the point of that function is to display instructions on the screen and displayState input of “none” displays nothing. I would simply avoid using that command with displayState input “none”.

---

<div class="post-metadata">

**Author:** ![Raz1988](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Raz1988](https://devforum.zoom.us/u/Raz1988)\
**Post date:** [January 31, 2019, 6:10am UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/11 "2019-01-31T06:10:00Z")

</div>

Hi Zach,  
For me, I use displayState for sync instructions showing between my controller App and ZRoom.  
When the dial sharing ends, displayState: none, I can simulate show instructions again, but if someone exit my controller App, then start it again, it can’t synchronize with instructions show. Because I have no information from ZAAPI what is showing in screen. And that is bad.  
Actually In API there is no short way to get actual system state from ZAAPI: I need to get call info, sharing status, inforesult and analyze all of it with incorrect value of displayState at final.

---

<div class="post-metadata">

**Author:** ![Zach](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@Zach](https://devforum.zoom.us/u/Zach)\
**Post date:** [January 31, 2019, 6:04pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/12 "2019-01-31T18:04:55Z")

</div>

Hi @Raz1988 ,

I don’t really understand your last post. Can you explain again? I have tried disconnecting ZAAPI from the ZR after starting a share meeting using “zCommand Dial Sharing Duration: 30 Displaystate: Laptop Password:” and then reconnecting. the dispState is still correct.

The only time I can reproduce that it is out of sync is when I do “zCommand Dial Sharing Duration: 30 Displaystate: None Password:” then start sharing, then disconnect my sharing, then the laptop instruction displays on screen but dispState is still none. Are you saying that you must use “zCommand Dial Sharing Duration: 30 Displaystate: None Password:”?

---

<div class="post-metadata">

**Author:** ![steve.joiner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steve.joiner/32/593_2.png) [@steve.joiner](https://devforum.zoom.us/u/steve.joiner)\
**Post date:** [February 5, 2019, 12:59pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/13 "2019-02-05T12:59:38Z")

</div>

Zach,

Thanks for your response. I think what you’re saying is “don’t use Displaystate: None”. My questions to you then are:

1. What command should I use to start a sharing-only meeting with HDMI?
2. If instructions are being displayed (HDMI, Air Play, etc.), then how do we make them disappear? (Maybe the user doesn’t want to see them anymore.)

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![Zach](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@Zach](https://devforum.zoom.us/u/Zach)\
**Post date:** [February 5, 2019, 5:59pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/14 "2019-02-05T17:59:33Z")

</div>

1. I think there are not instructions for sharing only meeting with HDMI? I have never seen them before. But the user can start sharing with HDMI without any instructions displayed.
2. If you take a look at our own ZRC controller, there is actually no feature for hiding the instructions during a sharing only meeting.

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:08pm UTC](https://devforum.zoom.us/t/sharing-dispstate-value-incorrect/2949/15 "2020-08-21T18:08:36Z")

</div>

Closed on August 21, 2020, 6:08pm UTC


