Skip to content

Commit ec47312

Browse files
authored
chore: Upgrade package version 3.0.0-pre.6 (#929)
* upgrade package version 3.0.0-pre.6 * fix
1 parent 3cd3b1e commit ec47312

File tree

7 files changed

+23
-5
lines changed

7 files changed

+23
-5
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ body:
2727
What version of the package are you using?
2828
You can check the Unity version in Package Manager Window. See [manual](https://docs.unity3d.com/Manual/upm-ui.html).
2929
options:
30+
- 3.0.0-pre.6
3031
- 3.0.0-pre.5
3132
- 3.0.0-pre.4
3233
- 3.0.0-pre.3

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ All notable changes to the webrtc package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [3.0.0-pre.6] - 2023-07-16
8+
9+
### Added
10+
11+
- Add `AudioStreamTrack.onReceived` delegate which fetch audio buffers from other peers.
12+
13+
### Changed
14+
15+
- Upgrade libwebrtc [M112](https://groups.google.com/g/discuss-webrtc/c/V-XFau9W9gY).
16+
17+
### Fixed
18+
19+
- Improve video encoding performance for DX11/DX12 which decrease the loads on the rendering thread.
20+
- Fix a runtime error when replacing track with NvCodec.
21+
- Support calling `AudioStreamTrack.SetData` on worker thread
22+
723
## [3.0.0-pre.5] - 2023-04-28
824

925
### Added

Documentation~/install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Check Package Manager window, Click `+` button and select `Add package from git
1111
Input the string below to the input field.
1212

1313
```
14-
14+
1515
```
1616

1717
The list of version string is [here](https://github.com/Unity-Technologies/com.unity.webrtc/tags). In most cases, the latest version is recommended to use.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Please read this if you have an interest to customize native code in this projec
5555
| `3.0.0-pre.3` | [M107](https://groups.google.com/g/discuss-webrtc/c/StVFkKuSRc8) | - Fix bugs | Dec 2022 |
5656
| `3.0.0-pre.4` | [M107](https://groups.google.com/g/discuss-webrtc/c/StVFkKuSRc8) | - Fix bugs | Jan 2023 |
5757
| `3.0.0-pre.5` | [M107](https://groups.google.com/g/discuss-webrtc/c/StVFkKuSRc8) | - Encoded Transform API | Apr 2023 |
58+
| `3.0.0-pre.6` | [M112](https://groups.google.com/g/discuss-webrtc/c/V-XFau9W9gY) | - Fix bugs | Jul 2023 |
5859

5960
## Licenses
6061

Runtime/Scripts/VideoStreamTrack.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ public class VideoStreamTrack : MediaStreamTrack
2121
internal static ConcurrentDictionary<IntPtr, WeakReference<VideoStreamTrack>> s_tracks =
2222
new ConcurrentDictionary<IntPtr, WeakReference<VideoStreamTrack>>();
2323

24-
public enum VideoStreamTrackAction
24+
internal enum VideoStreamTrackAction
2525
{
2626
Ignore = 0,
2727
Decode = 1,
2828
Encode = 2
2929
}
3030

3131
[StructLayout(LayoutKind.Sequential)]
32-
public struct VideoStreamTrackData
32+
internal struct VideoStreamTrackData
3333
{
3434
public VideoStreamTrackAction action;
3535
public IntPtr ptrTexture;

ValidationExceptions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"ValidationTest": "Restricted File Type Validation",
77
"ExceptionMessage": "/Runtime/Plugins/x86_64/webrtc.dll should not be included in packages unless absolutely necessary. Please confirm that its inclusion is deliberate and intentional.",
8-
"PackageVersion": "3.0.0-pre.5"
8+
"PackageVersion": "3.0.0-pre.6"
99
}
1010
]
1111
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.unity.webrtc",
33
"displayName": "WebRTC",
4-
"version": "3.0.0-pre.5",
4+
"version": "3.0.0-pre.6",
55
"unity": "2020.3",
66
"description": "The WebRTC package provides browsers and mobile applications with Real-Time Communications (RTC) capabilities.",
77
"keywords": [

0 commit comments

Comments
 (0)