-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UE4 and Unity can now capture using WebRTC. (without Godot) (#96)
[UnityPlugin] * add websocket-sharp lib * add submodule websocket-sharp * add bocchi tracker video capture module * BocchiTrackerSystem create component video capture module. [UE5Plugin] * supported by PixelStreaming of UE5 * RTCMessage added the playerid filed. (because it matches the UnrealEngine structure type. [Application] * Move web rtc movie capture processing to CaptureFrameStorage. * When the movie frame received, write directly to the movie file * Delete old movie files when the maximum number of movie frames is reached * IssueAssetCollector is simpler, it only receives movie file path * ffmpeg path can set in Client.Config * target platform of client changed from any cpu to x64 because of opencvsharp4 requires x64.
- Loading branch information
1 parent
d5f1cae
commit fa75827
Showing
63 changed files
with
2,404 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace BocchiTracker.Config | ||
{ | ||
public enum GameCaptureType | ||
{ | ||
OBSStudio, | ||
WebRTC, | ||
|
||
NotUse, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace BocchiTracker.Config.Parts | ||
{ | ||
public class CaptureSetting | ||
{ | ||
public GameCaptureType GameCaptureType { get; set; } = GameCaptureType.NotUse; | ||
|
||
public SIPSorceryMedia.Abstractions.VideoCodecsEnum VideoCodecs { get; set; } = SIPSorceryMedia.Abstractions.VideoCodecsEnum.VP8; | ||
|
||
public bool IncludeAudio = false; | ||
|
||
public int RecordingFrameRate { get; set; } = 30; | ||
|
||
public int RecordingMintes { get; set; } = 3; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace BocchiTracker.Config.Parts | ||
{ | ||
public class ExternalToolsPath | ||
{ | ||
public string? ProcDumpPath { get; set; } | ||
|
||
public string? FFmpegPath { get; set; } | ||
} | ||
} |
Oops, something went wrong.