B2G/Wifi Display: Difference between revisions

Line 9: Line 9:
== Web IDL ==
== Web IDL ==
== Introduction ==
== Introduction ==
Wifi Display (a.k.a. Miracast), is a screen cast standard defined by WiFi Alliance. With Miracast-enabled device such as smart TV or Miracast dongle, one can project his/her screen (usually on a phone) to the TV or a bigger display. The remote displaying content is not necessary to identical to the local one. When two screens show the same content, it's known as "mirror mode". Mirror mode is the most common use case when it comes to Wifi Display.  
Wifi Display (a.k.a. Miracast), is a screen cast standard defined by WiFi Alliance. With Miracast-enabled device such as smart TV or Miracast dongle, one can project his/her screen (usually on a phone) to the TV or a bigger display. We call the device to cast the content the "source" device; the one to display the content is called the "sink" device.
 
The remote displaying content is not necessary to be identical to the local one. When two screens show the same content, it's known as "mirror mode". Mirror mode is the most common use case when it comes to Wifi Display. In fact, Wifi Display doesn't define "what to display" but "how to display". People would usually like to use Wifi Display to display:
 
# The "exact" mirrored screen, which means the same content, the same dimension and the same resolution.
# The "modified" mirrored screen, which is basically the same content but with overlay or without some secret information. (Content may be also re-rendered by the different dimension.)
# The extension of the screen. (Imagine the extended desktop on Windows.)
# The application specific content. (For example, for a racing game, main screen on the big remote display and the mini map on the local, small screen)


Wifi Display consists of a couple of existing technologies, including Wifi Direct (or TDLS) as the communication channel, H.264/AAC as the codec requirement, RTSP  as the streaming protocol, etc. The following figure shows the full stack:
Wifi Display consists of a couple of existing technologies, including Wifi Direct (or TDLS) as the communication channel, H.264/AAC as the codec requirement, RTSP  as the streaming protocol, etc. The following figure shows the full stack:


[[File:Wfd data control plane.png|600px]]
[[File:Wfd data control plane.png|600px]]
Confirmed users
158

edits