Export (0) Print
Expand All

Change Media Streaming Settings

Published: July 9, 2012

Updated: October 4, 2012

Applies To: Windows Server 2012 Essentials

Multiple options are available for you to change media streaming settings. The following options are available:

You can hide the remote media streaming add-in by adding an entry in the registry.

  1. On the server, move your mouse to the upper right corner of the screen, and click Search.

  2. In the Search box, type regedit, and then click the Regedit application.

  3. In the left pane, expand down to the following registry entry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\RemoteAccess\DisabledAddIns

  4. Right-click DisabledAddIns, point to New, and then click DWORD Value.

  5. For the new value, type 497796c6-9cc7-43be-aa26-4e6b5695370d, which is the identifier for the remote media streaming add-in, and then press Enter.

  6. Right click the value, and then click Modify.

  7. Type 1 for the value data, and then click OK.

You can use a class in the Windows Server Solutions SDK to set the name of the media library. To set the name of the media library, you can use the SetMediaLibraryName method of the MediaStreamingManager class in the Microsoft.WindowsServerSolutions.MediaStreaming namespace. The following example shows how to set the name of the media library:


MediaStreamingManager mediaStreamingManager = new MediaStreamingManager();
string mediaLibraryName = Guid.NewGuid().ToString("B"); 
mediaStreamingManager.SetMediaLibraryName(mediaLibraryName);

For more information, see Windows Server Solutions SDK.

You set the video streaming quality by obtaining the WinSAT CPU score and then creating and installing the .xml file that contains the WinSAT score information. If the .xml file that contains the WinSAT score information is installed before Initial Configuration runs, the user interface for setting video quality will not appear to the customer. For more information, see Set the WinSAT Score on the Server.

You can use a class in the Windows Server Solutions SDK to programmatically enable or disable media streaming. To enable or disable media streaming, you can use the SetMediaStreamingEnabled method of the MediaStreamingManager class in the Microsoft.WindowsServerSolutions.MediaStreaming namespace. The following code example shows how to enable media streaming:


MediaStreamingManager mediaStreamingManager = new MediaStreamingManager();
mediaStreamingManager.SetMediaStreamingEnabled(true);

The following code example shows how to disable media streaming:


MediaStreamingManager mediaStreamingManager = new MediaStreamingManager();
mediaStreamingManager.SetMediaStreamingEnabled(false);

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft