mirror of
https://github.com/DevL0rd/SkyNX
synced 2024-11-21 18:43:03 +00:00
final fixes
This commit is contained in:
parent
068016810e
commit
971a02040b
8 changed files with 973 additions and 219 deletions
BIN
Screenshots/Banner.png
Normal file
BIN
Screenshots/Banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
|
@ -1,4 +1,4 @@
|
|||
@echo off
|
||||
cls
|
||||
electron-packager . SkyNXStreamer --platform=win32 --arch=ia32 --icon=./icon.ico
|
||||
call electron-packager . SkyNXStreamer --platform=win32 --arch=ia32 --icon=./icon.ico
|
||||
pause
|
|
@ -1,2 +1,4 @@
|
|||
npm install
|
||||
call npm install -g electron-packager
|
||||
call npm install
|
||||
call npm rebuild --arch=ia32 --abi=67
|
||||
pause
|
|
@ -74,7 +74,7 @@ function createWindow() {
|
|||
mainWindow.loadFile('index.html');
|
||||
//fix transparency bug in windows 10
|
||||
mainWindow.reload();
|
||||
mainWindow.webContents.openDevTools();
|
||||
// mainWindow.webContents.openDevTools();
|
||||
}
|
||||
|
||||
|
||||
|
@ -225,7 +225,7 @@ function startStreamer() {
|
|||
log("Using CPU Encoding");
|
||||
}
|
||||
ffmpegProcess = spawn(
|
||||
"./lib/ffmpeg.exe",
|
||||
__dirname + "/lib/ffmpeg.exe",
|
||||
ffmpegVideoArgs,
|
||||
{
|
||||
detached: false
|
||||
|
@ -247,7 +247,7 @@ function startStreamer() {
|
|||
}
|
||||
if (usingAudio) {
|
||||
ffmpegAudioProcess = spawn(
|
||||
"./lib/ffmpeg_old.exe",
|
||||
__dirname + "/lib/ffmpeg_old.exe",
|
||||
["-y", "-f", "dshow", "-i", 'audio=virtual-audio-capturer', "-f", "s16le", "-ar", "16000", "-ac", "2", "-c:a", "pcm_s16le", "udp://" + ip + ":2224?pkt_size=640"],
|
||||
{ detached: false }
|
||||
);
|
||||
|
@ -665,6 +665,7 @@ function handleTouchInput(hid) {
|
|||
function handleGyroAndAccel(hid) {
|
||||
var gyro = { x: hid.get("gyroX"), y: hid.get("gyroY"), z: hid.get("gyroZ") }
|
||||
var accel = { x: hid.get("accelX"), y: hid.get("accelY"), z: hid.get("accelZ") }
|
||||
// log(gyro.y + "")
|
||||
// for (axis in gyro) {
|
||||
// gyro[axis] *= 250;
|
||||
// }
|
||||
|
|
1168
SkyNX-Streamer/package-lock.json
generated
1168
SkyNX-Streamer/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -18,6 +18,7 @@
|
|||
"dgram": "latest",
|
||||
"electron": "^17.1.0",
|
||||
"electron-is-dev": "latest",
|
||||
"electron-packager": "^15.4.0",
|
||||
"electron-window-state": "latest",
|
||||
"formidable": "latest",
|
||||
"jquery": "latest",
|
||||
|
|
|
@ -39,7 +39,7 @@ EXEFS_SRC := exefs_src
|
|||
|
||||
APP_AUTHOR := DevL0rd
|
||||
APP_TITLE := SkyNX
|
||||
APP_VERSION := 1.3
|
||||
APP_VERSION := 1.4
|
||||
|
||||
|
||||
|
||||
|
|
BIN
SkyNX/SkyNX_Forwarder.nsp
Normal file
BIN
SkyNX/SkyNX_Forwarder.nsp
Normal file
Binary file not shown.
Loading…
Reference in a new issue