replicas-computer 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +13 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2921,7 +2921,7 @@ async function computerStatusCommand() {
2921
2921
  }
2922
2922
 
2923
2923
  // src/version.ts
2924
- var COMPUTER_USE_VERSION = "0.2.0";
2924
+ var COMPUTER_USE_VERSION = "0.2.1";
2925
2925
  var COMPUTER_USE_PROTOCOL_VERSION = 1;
2926
2926
 
2927
2927
  // src/program.ts
@@ -3585,6 +3585,16 @@ async function runMediaServer() {
3585
3585
  "-thread_queue_size",
3586
3586
  "1024",
3587
3587
  "-f",
3588
+ "pulse",
3589
+ "-fragment_size",
3590
+ "2048",
3591
+ "-use_wallclock_as_timestamps",
3592
+ "1",
3593
+ "-i",
3594
+ process.env.REPLICAS_DESKTOP_STREAM_AUDIO_SOURCE || "default",
3595
+ "-thread_queue_size",
3596
+ "1024",
3597
+ "-f",
3588
3598
  "x11grab",
3589
3599
  "-draw_mouse",
3590
3600
  "0",
@@ -3596,18 +3606,8 @@ async function runMediaServer() {
3596
3606
  "1",
3597
3607
  "-i",
3598
3608
  `${display}.0`,
3599
- "-thread_queue_size",
3600
- "1024",
3601
- "-f",
3602
- "pulse",
3603
- "-fragment_size",
3604
- "2048",
3605
- "-use_wallclock_as_timestamps",
3606
- "1",
3607
- "-i",
3608
- process.env.REPLICAS_DESKTOP_STREAM_AUDIO_SOURCE || "default",
3609
3609
  "-map",
3610
- "0:v:0",
3610
+ "1:v:0",
3611
3611
  "-an",
3612
3612
  "-c:v",
3613
3613
  "libx264",
@@ -3647,7 +3647,7 @@ async function runMediaServer() {
3647
3647
  "96",
3648
3648
  `rtp://127.0.0.1:${videoPort}?pkt_size=1200&connect=1&rtcpport=${videoPort}`,
3649
3649
  "-map",
3650
- "1:a:0",
3650
+ "0:a:0",
3651
3651
  "-vn",
3652
3652
  "-af",
3653
3653
  "aresample=async=1:first_pts=0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-computer",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Replicas workspace computer-use runtime",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",