diff options
Diffstat (limited to 'spiceconn.js')
-rw-r--r-- | spiceconn.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spiceconn.js b/spiceconn.js index 318e9ae..81bc301 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -121,6 +121,11 @@ SpiceConn.prototype = (1 << SPICE_COMMON_CAP_MINI_HEADER) ); + if (msg.channel_type == SPICE_CHANNEL_PLAYBACK) + msg.channel_caps.push( + (1 << SPICE_PLAYBACK_CAP_OPUS) + ); + hdr.size = msg.buffer_size(); var mb = new ArrayBuffer(hdr.buffer_size() + msg.buffer_size()); |