Skip to content

Commit

Permalink
chore: Update WebRTC package version 3.0.0-pre.4 (#837)
Browse files Browse the repository at this point in the history
* fix docs

* fix for tutorial

(cherry picked from commit 727cc6956fb1ab1ea10d950cc3a3c5da7817772a)

* upgrade WebRTC package version 3.0.0-pre.4

* update unity project

* workaround

* workaround

* workaround

* workaround

* fix

* workaround
  • Loading branch information
karasusan authored Jan 18, 2023
1 parent 7ef33dc commit 06f1009
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .yamato/compile-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compile_test_for_package_version:
flavor: b1.large
image: package-ci/win10:v4
variables:
VERSION: 3.1.0-exp.4
VERSION: 3.1.0-exp.5
commands:
# When unity-config will be part of the image, this will turn into a no-op
- |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Please see [Furioos Tutorial](com.unity.renderstreaming/Documentation~/deploy-to
| `3.1.0-exp.2` | - Audio Renderer support <br/> - Multiplay sample <br/> - M1 Mac support | Dec 2021 |
| `3.1.0-exp.3` | - Fix bugs | Feb 2022 |
| `3.1.0-exp.4` | - Streaming settings API <br/> - *Unity 2022.1* support <br/> - Remove *Unity 2019.4* from support list | Oct 2022 |
| `3.1.0-exp.5` | - Fix bugs | Dec 2023 |
| `3.1.0-exp.5` | - Fix bugs | Jan 2023 |
| `3.1.0-exp.6` | - Streaming Settings Window <br/> - Auto Configuration | Feb 2023 |

## FAQ
Expand Down
4 changes: 2 additions & 2 deletions RenderStreaming~/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"depth": 0,
"source": "embedded",
"dependencies": {
"com.unity.webrtc": "3.0.0-pre.3",
"com.unity.webrtc": "3.0.0-pre.4",
"com.unity.inputsystem": "1.4.4",
"com.unity.ugui": "1.0.0",
"com.unity.modules.screencapture": "1.0.0"
Expand Down Expand Up @@ -106,7 +106,7 @@
}
},
"com.unity.webrtc": {
"version": "3.0.0-pre.3",
"version": "3.0.0-pre.4",
"depth": 1,
"source": "registry",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions RenderStreaming~/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2021.3.15f1
m_EditorVersionWithRevision: 2021.3.15f1 (e8e88683f834)
m_EditorVersion: 2021.3.16f1
m_EditorVersionWithRevision: 2021.3.16f1 (4016570cf34f)
13 changes: 8 additions & 5 deletions TestProjects/Empty/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://packages.unity.com"
},
"com.unity.inputsystem": {
"version": "1.4.2",
"version": "1.4.4",
"depth": 1,
"source": "registry",
"dependencies": {
Expand All @@ -28,8 +28,10 @@
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.webrtc": "2.4.0-exp.11",
"com.unity.inputsystem": "1.4.1"
"com.unity.webrtc": "3.0.0-pre.4",
"com.unity.inputsystem": "1.4.4",
"com.unity.ugui": "1.0.0",
"com.unity.modules.screencapture": "1.0.0"
}
},
"com.unity.test-framework": {
Expand Down Expand Up @@ -74,12 +76,13 @@
}
},
"com.unity.webrtc": {
"version": "2.4.0-exp.11",
"version": "3.0.0-pre.4",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.editorcoroutines": "1.0.0"
"com.unity.editorcoroutines": "1.0.0",
"com.unity.modules.audio": "1.0.0"
},
"url": "https://packages.unity.com"
},
Expand Down
4 changes: 2 additions & 2 deletions TestProjects/Empty/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2021.3.11f1
m_EditorVersionWithRevision: 2021.3.11f1 (0a5ca18544bf)
m_EditorVersion: 2021.3.16f1
m_EditorVersionWithRevision: 2021.3.16f1 (4016570cf34f)
4 changes: 2 additions & 2 deletions com.unity.renderstreaming/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to com.unity.renderstreaming package will be documented in t
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.1.0-exp.5] - 2022-12-22
## [3.1.0-exp.5] - 2023-1-16

### Changed

- Upgrade the version of Input System package `1.4.4`.
- Upgrade the version of WebRTC package `3.0.0-pre.2`.
- Upgrade the version of WebRTC package `3.0.0-pre.4`.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion com.unity.renderstreaming/Documentation~/create-scene.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Add a [**Video Stream Sender**](video-streaming.html#videostreamsenderapiunityre

![Add VideoStreamSender component](images/add_videostreamsender_component.png)

Assign the [**Video Stream Sender**](video-streaming.html#videostreamsenderapiunityrenderstreamingvideostreamsenderhtml-component) component to the **Broadcast** component property.
Assign the [**Video Stream Sender**](video-streaming.html#videostreamsenderapiunityrenderstreamingvideostreamsenderhtml-component) component to the **Broadcast** component property. And set camera

![Assign VideoStreamSender component to streams](images/assign_videostreamsender_to_streams.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

namespace Unity.RenderStreaming
{
[AddComponentMenu("Render Streaming/Render Streaming")]
public sealed class RenderStreaming : MonoBehaviour
{
#pragma warning disable 0649
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public IEnumerator CreateChannel(TestMode mode)

//todo:: crash in dispose process on standalone linux
[UnityTest, Timeout(10000)]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer })]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer, RuntimePlatform.Android })]
public IEnumerator OnAddReceiverPrivateMode()
{
MockSignaling.Reset(true);
Expand Down Expand Up @@ -403,7 +403,7 @@ public IEnumerator OnAddReceiverPrivateMode()

//todo:: crash in dispose process on standalone linux
[UnityTest, Timeout(10000)]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer })]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer, RuntimePlatform.Android })]
public IEnumerator OnAddReceiverPublicMode()
{
MockSignaling.Reset(false);
Expand Down
12 changes: 6 additions & 6 deletions com.unity.renderstreaming/Tests/Runtime/SignalingHandlerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public void AddDataChannel()

//todo:: crash in dispose process on standalone linux
[UnityTest, Timeout(10000)]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer })]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer, RuntimePlatform.Android })]
public IEnumerator ReceiveStream()
{
string connectionId = "12345";
Expand Down Expand Up @@ -228,7 +228,7 @@ public IEnumerator ReceiveStream()
[UnityPlatform(exclude = new[]
{
RuntimePlatform.WindowsEditor, RuntimePlatform.OSXEditor, RuntimePlatform.LinuxEditor,
RuntimePlatform.LinuxPlayer, RuntimePlatform.IPhonePlayer
RuntimePlatform.LinuxPlayer, RuntimePlatform.IPhonePlayer, RuntimePlatform.Android
})]
public IEnumerator SetCodec()
{
Expand Down Expand Up @@ -444,7 +444,7 @@ public IEnumerator AddSource()
// todo:: Crash in dispose process on Linux standalone
// todo:: Timeout error on iPhonePlayer
[UnityTest, Timeout(10000)]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer, RuntimePlatform.IPhonePlayer })]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer, RuntimePlatform.IPhonePlayer, RuntimePlatform.Android })]
public IEnumerator ReceiveStream()
{
string connectionId = "12345";
Expand Down Expand Up @@ -566,7 +566,7 @@ public IEnumerator ReceiveDataChannel()
}

[UnityTest, Timeout(10000)]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer })]
[UnityPlatform(exclude = new[] { RuntimePlatform.LinuxPlayer, RuntimePlatform.Android })]
public IEnumerator AssignTransceivers()
{
string connectionId = "12345";
Expand Down Expand Up @@ -676,7 +676,7 @@ public IEnumerator AssignTransceivers()
[UnityPlatform(exclude = new[]
{
RuntimePlatform.WindowsEditor, RuntimePlatform.OSXEditor, RuntimePlatform.LinuxEditor,
RuntimePlatform.LinuxPlayer
RuntimePlatform.LinuxPlayer, RuntimePlatform.Android
})]
public IEnumerator SetCodecOnSender()
{
Expand Down Expand Up @@ -782,7 +782,7 @@ public IEnumerator SetCodecOnSender()
[UnityPlatform(exclude = new[]
{
RuntimePlatform.WindowsEditor, RuntimePlatform.OSXEditor, RuntimePlatform.LinuxEditor,
RuntimePlatform.LinuxPlayer
RuntimePlatform.LinuxPlayer, RuntimePlatform.Android
})]
public IEnumerator SetCodecOnReceiver()
{
Expand Down
2 changes: 1 addition & 1 deletion com.unity.renderstreaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"unity": "2020.3",
"description": "This is a package for using Unity Render Streaming technology.",
"dependencies": {
"com.unity.webrtc": "3.0.0-pre.3",
"com.unity.webrtc": "3.0.0-pre.4",
"com.unity.inputsystem": "1.4.4",
"com.unity.ugui": "1.0.0",
"com.unity.modules.screencapture": "1.0.0"
Expand Down

0 comments on commit 06f1009

Please sign in to comment.