Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 9b07fc6

Browse files
authored
Merge pull request #59 from WatchBeam/light-saber
Light saber
2 parents 9497bd2 + fdf61c2 commit 9b07fc6

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ build_scripts/
4242
*.vcxproj.filters
4343
*.sln
4444
*.db
45+
*db-wal
4546

4647

4748
/other/

build_scripts/build_tachyon_windows_vs.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
REM check for cef binary
22
REM check for dependencies (ffmpeg, etc)
33
SET build_config=Release
4-
SET obs_version=1.2.14
4+
SET obs_version=1.2.15
55
SET cef_binary_dir=C:\beam\cef_binary
66
SET cef_release_dir=C:\beam\obs-browser-1.22
77
SET coredeps=C:\beam\tachyon_deps
@@ -30,7 +30,7 @@ cd ..
3030
call git submodule update --init
3131
cd ..
3232
echo "building libftl"
33-
call git clone https://github.com/WatchBeam/ftl-sdk.git
33+
call git clone https://github.com/WatchBeam/ftl-sdk.git
3434
cd ftl-sdk
3535
mkdir build
3636
cd build

build_scripts/tachyon_windows_installer.nsi

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; HM NIS Edit Wizard helper defines
44
!define PRODUCT_NAME "Tachyon"
55
!define DEFAULT_INST_DIR "$PROGRAMFILES\${PRODUCT_NAME}"
6-
!define PRODUCT_VERSION "1.2.14"
6+
!define PRODUCT_VERSION "1.2.15"
77
!define PRODUCT_PUBLISHER "Beam Interactive"
88
!define PRODUCT_WEB_SITE "http://beam.pro"
99
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\tachyon64.exe"

plugins/obs-ffmpeg/obs-ffmpeg-output.c

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
******************************************************************************/
1717

18+
//#define _FTL_USE_H264
19+
1820
#include <obs-module.h>
1921
#include <util/circlebuf.h>
2022
#include <util/threading.h>
@@ -1337,9 +1339,11 @@ static int try_connect(struct ffmpeg_output *output)
13371339
}
13381340

13391341
/* Glue together the ingest URL */
1342+
int remote_port = ftl_get_remote_port(output->stream_config);
13401343

13411344
#ifdef _WIN32
1342-
swprintf(ftl_ingest_arg, sizeof(ftl_ingest_arg)/sizeof(wchar_t), L"-rtpingestaddr=%hs:8082", config.ingest_ip);
1345+
swprintf(ftl_ingest_arg, sizeof(ftl_ingest_arg)/sizeof(wchar_t), L"-rtpingestaddr=%hs:%d", config.ingest_location, remote_port);
1346+
13431347
blog(LOG_WARNING, "FTL ingest args are: %S\n", ftl_ingest_arg);
13441348
ZeroMemory( &output->ShExecInfo, sizeof(output->ShExecInfo) );
13451349
output->ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
@@ -1354,7 +1358,7 @@ static int try_connect(struct ffmpeg_output *output)
13541358
ShellExecuteEx(&output->ShExecInfo);
13551359
SetPriorityClass(output->ShExecInfo.hProcess, HIGH_PRIORITY_CLASS);
13561360
#else
1357-
snprintf(ftl_ingest_arg, sizeof(ftl_ingest_arg), "-rtpingestaddr=%s:8082", config.ingest_ip);
1361+
snprintf(ftl_ingest_arg, sizeof(ftl_ingest_arg), "-rtpingestaddr=%s:%d", config.ingest_ip, remote_port);
13581362
blog(LOG_WARNING, "FTL ingest args are: %s\n", ftl_ingest_arg);
13591363
/* print error message if fork() fails */
13601364
blog(LOG_WARNING, "Forking Process\n");

0 commit comments

Comments
 (0)