w3c / presentation-api

Presentation API
https://www.w3.org/TR/presentation-api/
Other
71 stars 39 forks source link

Cannot present on multiple devices from the same tab #516

Closed raghupviyer closed 10 months ago

raghupviyer commented 1 year ago

According to the Docs, https://www.w3.org/TR/presentation-api/#creating-a-second-presentation-from-the-same-controlling-page We can control multiple displays from the same page, but it does not work. when we perform presentation.start() the second time, a popup comes which only gives an option to stop the currently presenting display, not to present to another display I have to open the webpage on another tab and keep doing the same thing for this

markafoltz commented 11 months ago

@raghupviyer What browser were you testing this on?

Chrome has a limitation that only one tab may be mirrored at a time, but the situation you describe sounds different.

raghupviyer commented 11 months ago

hi @mfoltzgoogle I was testing this on Chrome, I wanted to control multiple displays from the same tab and be able to communicate different messages to the different displays at the same or different time, which according to the docs it should be possible but it seems it only supports one display per tab

markafoltz commented 10 months ago

Hi @raghupviyer thank you for bringing this to my attention. After some internal discussions, this situation is a side effect of a recent change to the Chrome UI to merge presentation functionality with media controls. As it currently stands there is no way to start a second presentation from the same tab.

I filed https://crbug.com/1496105 in the Chrome bug tracker so you can track our progress in bringing back this capability. We continue to evolve our UI so hopefully it won't be too long. In the meantime, I may also change the implementation to throw a different exception (NotFoundError) to better match the semantics of the spec.

Since this is a Chrome issue and not an issue with the spec, I'm closing this out.

raghupviyer commented 10 months ago

Thankyou @mfoltzgoogle , appreciate it a lot