Skip to content

Commit

Permalink
Merge pull request #6 from AgoraIO/obs-studio-agora-2.9.0
Browse files Browse the repository at this point in the history
Obs studio agora 2.9.0
  • Loading branch information
PRWrl authored Sep 6, 2019
2 parents 4e26b4a + 07124b0 commit d968781
Show file tree
Hide file tree
Showing 1,441 changed files with 1,034 additions and 401,322 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

* Cmake of Windows version

* visual studio 2013
* visual studio 2015(also support vs2013 and vs2017)

* QT 5.8(msvc2013) if you need UI
* QT 5.9.2(msvc2015, any version QT adjust to visual studio version) if you need UI

* Version

* agora sdk windows version 2.2.1 and above(x86).
* obs studio 21.1b and above(x86).
* agora sdk windows version 2.9.0 and above(x86), also support x64.
* obs studio 21.1b and above(x86), also support x64.

* Build project with CMake-gui:

Expand All @@ -24,10 +24,10 @@
* Set variables in windows environment:
* DepsPath

The path where win32 is located after decompressing dedependencies2013.zip
The path where win32 or win64 is located after decompressing dedependencies2015.zip(dedependencies2013.zip or dedependencies2017.zip). dedependencies2013 not support win64.
* QTDir

The path where win32 is loacted after installed QT 5.8
The path where win32 is loacted after installed QT 5.9.2
* Uncheck ENABLE\_SCRIPTING

* After configure is ok,then click generate, vs project can be generated.
Expand Down Expand Up @@ -148,7 +148,7 @@ You can reference setupRemoteVideo, it's implemented in obs\_service\_agora\_set
After calling some apis, you'll receive agora callbacks. Sometimes you must first receive callbacks, then you can call other agora apis. For example, after receiving onUserJoined callback, you can call setupRemoteVideo to show remote video.

* In the file obs-service.c, in constant character array service_signals, add callbacks correspond to signals, including return type and function name.
* agorartcengine.cpp,声网回调函数想应用层发出signal,调用signal_handler_signal,通过calldata结构体设置多个参数。
* agorartcengine.cpp,agora sdk callback send signal to app, call signal_handler_signal. you can set parameters with calldata structure.

what to do int the application:

Expand Down
2 changes: 2 additions & 0 deletions UI/data/locale/en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,13 @@ Basic.Main.Connecting="Connecting..."
Basic.Main.StartRecording="Start Recording"
Basic.Main.StartReplayBuffer="Start Replay Buffer"
Basic.Main.StartStreaming="Start Streaming"
Basic.Main.StartAgoraStreaming="Start to Agora Streaming"
Basic.Main.StopRecording="Stop Recording"
Basic.Main.StoppingRecording="Stopping Recording..."
Basic.Main.StopReplayBuffer="Stop Replay Buffer"
Basic.Main.StoppingReplayBuffer="Stopping Replay Buffer..."
Basic.Main.StopStreaming="Stop Streaming"
Basic.Main.StopAgoraStreaming="Stop to Agora Streaming"
Basic.Main.StoppingStreaming="Stopping Stream..."
Basic.Main.ForceStopStreaming="Stop Streaming (discard delay)"

Expand Down
2 changes: 2 additions & 0 deletions UI/data/locale/zh-CN.ini
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,14 @@ Basic.Main.Connecting="连接中..."
Basic.Main.StartRecording="开始录制"
Basic.Main.StartReplayBuffer="开始回放缓存"
Basic.Main.StartStreaming="开始推流"
Basic.Main.StartAgoraStreaming="开始推流到声网"
Basic.Main.StopRecording="停止录制"
Basic.Main.StoppingRecording="停止录制..."
Basic.Main.StopReplayBuffer="停止回放缓存"
Basic.Main.StoppingReplayBuffer="正在停止回放缓存..."
Basic.Main.StopStreaming="停止推流"
Basic.Main.StoppingStreaming="停止推流..."
Basic.Main.StopAgoraStreaming="停止推流到声网"
Basic.Main.ForceStopStreaming="停止流 (放弃延迟)"

Basic.MainMenu.File="文件(&F)"
Expand Down
2 changes: 1 addition & 1 deletion UI/forms/OBSBasic.ui
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@
<item>
<widget class="QPushButton" name="agoraPKButton">
<property name="text">
<string>agora PK</string>
<string>Basic.Main.StartAgoraStreaming</string>
</property>
</widget>
</item>
Expand Down
10 changes: 5 additions & 5 deletions UI/installer/mp-installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Unicode true
!ifndef APPVERSION
!define APPVERSION "21.1.0"
!define SHORTVERSION "21.1.0"
!define AGORASDKVERSION "2.2.1"
!define AGORASDKVERSION "2.9.0"
!endif

!define APPNAMEANDVERSION "OBS Studio ${SHORTVERSION}"
Expand Down Expand Up @@ -47,7 +47,7 @@ RequestExecutionLevel admin
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE PreReqCheck

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "D:\project\AgoraIO\obs-studio\OBS\UI\data\license\gplv2.txt"
!insertmacro MUI_PAGE_LICENSE "..\data\license\gplv2.txt"
!insertmacro MUI_PAGE_DIRECTORY
!ifdef FULL
!insertmacro MUI_PAGE_COMPONENTS
Expand Down Expand Up @@ -201,11 +201,11 @@ Section "OBS Studio" SecCore
SetOutPath "$INSTDIR"
OBSInstallerUtils::KillProcess "obs-plugins\32bit\cef-bootstrap.exe"
OBSInstallerUtils::KillProcess "obs-plugins\64bit\cef-bootstrap.exe"
File /r "D:\project\AgoraIO\obs-studio\OBS\vs2013\rundir\Release\data"
File /r "..\..\vs2013\rundir\Release\data"
SetOutPath "$INSTDIR\bin"
File /r "D:\project\AgoraIO\obs-studio\OBS\vs2013\rundir\Release\bin\32bit"
File /r "..\..\vs2013\rundir\Release\bin\32bit"
SetOutPath "$INSTDIR\obs-plugins"
File /r "D:\project\AgoraIO\obs-studio\OBS\vs2013\rundir\Release\obs-plugins\32bit"
File /r "..\..\vs2013\rundir\Release\obs-plugins\32bit"

ClearErrors

Expand Down
Loading

0 comments on commit d968781

Please sign in to comment.