A very common question developers and designers have is when to use the Shared Viewport or Custom Viewport in a Media Center application. The sample code associated with this post illustrates how to create a Custom Viewport (and comment one line of code to get a Shared Viewport).
Download the Sample Code
To answer, we can list out the differences between the two, view screenshots of the implementations and understand their intended usage and limitations.
Shared Viewport
Figure 1 - Shared Viewport with video source (click to see larger version). Figure 2 - Shared Viewport with audio source (click for larger version).
Figure 1 - Shared Viewport with video source (click to see larger version).
Figure 2 - Shared Viewport with audio source (click for larger version).
Custom Viewport
Figure 3 - Custom Viewport with video source (click for larger version).
This is a personal weblog. The opinions expressed here represent my own and not those of my employer.