{"id":501,"date":"2018-10-31T21:49:45","date_gmt":"2018-11-01T01:49:45","guid":{"rendered":"http:\/\/kennywu.info\/?p=501"},"modified":"2018-10-31T21:49:45","modified_gmt":"2018-11-01T01:49:45","slug":"how-to-improve-rdp-streaming-audio-performance","status":"publish","type":"post","link":"http:\/\/kennywu.info\/?p=501","title":{"rendered":"How to improve RDP Streaming Audio Performance"},"content":{"rendered":"<p>Remote audio playback has always tried to automatically adjust its bandwidth usage based on the current network conditions. This allows audio to work pretty well on anything from a 56k modem up through 10 gigabit Ethernet connection, but this flexibility comes at a cost. Adjusting the bandwidth on the fly requires the server to delay audio a little longer for processing before sending it to the client, which can cause the audio to be out of sync with the images on the screen.<\/p>\n<p>Sometimes, you know you are on a network that\u2019s fast enough to handle the best quality audio always. For these cases, you can now change the audio quality mode. This tells the server to assume the network can handle the best quality audio, and to send it as soon as it\u2019s ready. Since the server processing doesn\u2019t delay the audio, the synchronization between audio and video are much improved, and the audio sounds better too.<\/p>\n<p>Enabling this feature requires changes to both the server- and client-side configuration. On the server, the easiest way to enable this feature is from the Group Policy editor.<br \/>\nGo to Computer Configuration:Administrative Templates:Windows Components: Remote Desktop Session Host:Device and Resource Redirection.<br \/>\nThe policy in question is \u201cLimit audio playback quality.\u201d Set this to \u201cEnabled,\u201d and then set the \u201cAudio Quality\u201d option to either Medium or High.<\/p>\n<p>On the client side, you need to add the audioqualitymode setting to the RDP file. The three possibilities for this setting are:<br \/>\n\u2022 audioqualitymode:i:0 -> Dynamic quality<br \/>\n\u2022 audioqualitymode:i:1 -> Medium quality<br \/>\n\u2022 audioqualitymode:i:2 -> High quality<\/p>\n<p>Dynamic quality uses the old behavior and attempts to provide the best quality with the available bandwidth. Medium uses a single audio format, which allows reasonable quality, low latency, and doesn\u2019t use too much bandwidth. On the other hand, high quality uses uncompressed audio for the best sound quality while also having low latency.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remote audio playback has always tried to automatically adjust its bandwidth usage based on the current network conditions. This allows audio to work pretty well on anything from a 56k modem up through 10 gigabit Ethernet connection, but this flexibility &hellip; <a href=\"http:\/\/kennywu.info\/?p=501\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-501","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=501"}],"version-history":[{"count":1,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":502,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/501\/revisions\/502"}],"wp:attachment":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}