You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,18 @@ This GStreamer-based plugin enables Unity to communicate with a Reachy 2 through
4
4
5
5
## Requirements
6
6
7
-
Currently, only the Windows platform is supported. The project requires [CMake](https://cmake.org/) to be generated and then Visual Studio to be built (tested with VS 2022).
7
+
Currently, only the Windows platform is supported.
8
+
The GStreamer library 1.24 is required. Download the [runtime](https://gstreamer.freedesktop.org/data/pkg/windows/1.24.8/msvc/gstreamer-1.0-msvc-x86_64-1.24.8.msi) installer.
8
9
9
-
The GStreamer library 1.24 is required. Download the [runtime](https://gstreamer.freedesktop.org/data/pkg/windows/1.24.8/msvc/gstreamer-1.0-msvc-x86_64-1.24.8.msi) and [development](https://gstreamer.freedesktop.org/data/pkg/windows/1.24.8/msvc/gstreamer-1.0-devel-msvc-x86_64-1.24.8.msi) installers.
10
+
For developing, the project requires [CMake](https://cmake.org/) to be generated and then Visual Studio to be built (tested with VS 2022). The [gstreamer development installer](https://gstreamer.freedesktop.org/data/pkg/windows/1.24.8/msvc/gstreamer-1.0-devel-msvc-x86_64-1.24.8.msi) is also required.
11
+
12
+
13
+
## Installation
14
+
15
+
From the *Window/Package Manager*, hit the + button and *add package from git URL*:
Alternatively, you can open the `*.sln` file in the build folder and build the project with Visual Studio (or press Ctrl+Shift+B).
36
46
37
-
## Installation
38
-
39
-
The built DLL and script files are located in the `GstreamerWebRTCUnityPlugin\UnityProject\Packages\com.pollenrobotics.gstreamerwebrtc` folder.
40
-
41
-
Simply copy and paste this folder into the Packages folder of your Unity app.
42
-
43
47
## Testing
44
48
45
49
The `GstreamerWebRTCUnityPlugin\UnityProject` is an example project that uses this plugin. It receives and displays audiovisual streams while sending sound from the microphone. The connection to the data is limited to the opening of the service channel.
@@ -68,3 +72,8 @@ Figure can be generated with [graphviz](https://graphviz.org/)
68
72
dot -Tpng -O pipeline.dot
69
73
```
70
74
75
+
### Debug from Visual Studio
76
+
77
+
In the solution explorer, select **UnityGstreamerPlugin** as the startup project. In the *Confguration Properties/Debugging* of this project set the *Command* as *D:\UnityHub\2022.3.41f1\Editor\Unity.exe* and *Commands Arguments* as *-projectPath C:\Users\Fabien\Dev\UnityGstreamerPlugin\UnityProject* (with the right paths).
78
+
79
+
Hit F5 to start the debugging. The Unity project should start.
0 commit comments