Skip to content

Commit 1317bde

Browse files
remove assetstore tools; update docs
1 parent fd56416 commit 1317bde

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

Assets/SimpleWebRTC/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ SimpleWebRTC is a Unity-based WebRTC wrapper that facilitates peer-to-peer audio
99
- Video and audio streaming
1010
- Data channel communication
1111
- Logging and debugging tools
12+
- Usage with Photon Fusion 2
1213

1314
## Tutorial video
1415
A tutorial YouTube video can be found here: [https://www.youtube.com/watch?v=-CwJTgt_Z3M](https://www.youtube.com/watch?v=-CwJTgt_Z3M)
@@ -37,6 +38,12 @@ The `WebRTCConnection` component manages the WebRTC connection and can be attach
3738

3839
![image](https://github.com/user-attachments/assets/e13c49e9-c9dc-4a5c-9200-94efd4800b1c)
3940

41+
### Photon Fusion 2 Integration
42+
1. Install Photon Fusion 2 from Unity AssetStore -> [Photon Fusion 2](https://assetstore.unity.com/packages/tools/network/photon-fusion-267958)
43+
2. Import the Photon Fusion sample scene via Unity Package Manager.
44+
3. Use the `_Generic` scripts and `PhotonSignalServer` to setup the WebRTC connection.
45+
4. A tutorial/explanation YouTube video can be found here: [https://www.youtube.com/watch?v=z1F_cqfdU6o](https://www.youtube.com/watch?v=z1F_cqfdU6o)
46+
4047
### Public Properties
4148
| Property | Type | Description |
4249
|----------|------|-------------|

Assets/SimpleWebRTC/Runtime/Starter-Documentation.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ SimpleWebRTC is a Unity-based WebRTC wrapper that facilitates peer-to-peer audio
77
- Video and audio streaming
88
- Data channel communication
99
- Logging and debugging tools
10+
- Usage with Photon Fusion 2
1011

1112
## Tutorial video
1213
A tutorial YouTube video can be found here: [https://www.youtube.com/watch?v=-CwJTgt_Z3M](https://www.youtube.com/watch?v=-CwJTgt_Z3M)
@@ -33,6 +34,13 @@ A tutorial YouTube video can be found here: [https://www.youtube.com/watch?v=-Cw
3334
### WebRTCConnection Component
3435
The `WebRTCConnection` component manages the WebRTC connection and can be attached to a GameObject in Unity.
3536

37+
38+
### Photon Fusion 2 Integration
39+
1. Install Photon Fusion 2 from Unity AssetStore -> [Photon Fusion 2](https://assetstore.unity.com/packages/tools/network/photon-fusion-267958)
40+
2. Import the Photon Fusion sample scene via Unity Package Manager.
41+
3. Use the `_Generic` scripts and `PhotonSignalServer` to setup the WebRTC connection.
42+
4. A tutorial/explanation YouTube video can be found here: [https://www.youtube.com/watch?v=z1F_cqfdU6o](https://www.youtube.com/watch?v=z1F_cqfdU6o)
43+
3644
### Public Properties
3745
| Property | Type | Description |
3846
|----------|------|-------------|

Packages/packages-lock.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
},
1717
"url": "https://packages.unity.com"
1818
},
19-
"com.unity.asset-store-tools": {
20-
"version": "file:com.unity.asset-store-tools",
21-
"depth": 0,
22-
"source": "embedded",
23-
"dependencies": {
24-
"com.unity.nuget.newtonsoft-json": "3.2.1"
25-
}
26-
},
2719
"com.unity.burst": {
2820
"version": "1.8.21",
2921
"depth": 2,
@@ -115,13 +107,6 @@
115107
"dependencies": {},
116108
"url": "https://packages.unity.com"
117109
},
118-
"com.unity.nuget.newtonsoft-json": {
119-
"version": "3.2.1",
120-
"depth": 1,
121-
"source": "registry",
122-
"dependencies": {},
123-
"url": "https://packages.unity.com"
124-
},
125110
"com.unity.render-pipelines.core": {
126111
"version": "17.1.0",
127112
"depth": 1,

ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ PlayerSettings:
824824
webWasm2023: 0
825825
webEnableSubmoduleStrippingCompatibility: 0
826826
scriptingDefineSymbols:
827-
Android: FUSION_WEAVER;FUSION2;FUSION_LOGLEVEL_INFO
827+
Android:
828828
Standalone: FUSION_LOGLEVEL_INFO;FUSION_WEAVER;FUSION2
829829
additionalCompilerArguments: {}
830830
platformArchitecture: {}

0 commit comments

Comments
 (0)