Skip to content

Commit

Permalink
chore: Upgrade package version 3.0.0-pre.6 (#929)
Browse files Browse the repository at this point in the history
* upgrade package version 3.0.0-pre.6

* fix
  • Loading branch information
karasusan authored Jun 30, 2023
1 parent 3cd3b1e commit ec47312
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ body:
What version of the package are you using?
You can check the Unity version in Package Manager Window. See [manual](https://docs.unity3d.com/Manual/upm-ui.html).
options:
- 3.0.0-pre.6
- 3.0.0-pre.5
- 3.0.0-pre.4
- 3.0.0-pre.3
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to the webrtc package will be documented in this file.
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.0.0-pre.6] - 2023-07-16

### Added

- Add `AudioStreamTrack.onReceived` delegate which fetch audio buffers from other peers.

### Changed

- Upgrade libwebrtc [M112](https://groups.google.com/g/discuss-webrtc/c/V-XFau9W9gY).

### Fixed

- Improve video encoding performance for DX11/DX12 which decrease the loads on the rendering thread.
- Fix a runtime error when replacing track with NvCodec.
- Support calling `AudioStreamTrack.SetData` on worker thread

## [3.0.0-pre.5] - 2023-04-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion Documentation~/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Check Package Manager window, Click `+` button and select `Add package from git
Input the string below to the input field.

```
com.unity.webrtc@3.0.0-pre.5
com.unity.webrtc@3.0.0-pre.6
```

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.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Please read this if you have an interest to customize native code in this projec
| `3.0.0-pre.3` | [M107](https://groups.google.com/g/discuss-webrtc/c/StVFkKuSRc8) | - Fix bugs | Dec 2022 |
| `3.0.0-pre.4` | [M107](https://groups.google.com/g/discuss-webrtc/c/StVFkKuSRc8) | - Fix bugs | Jan 2023 |
| `3.0.0-pre.5` | [M107](https://groups.google.com/g/discuss-webrtc/c/StVFkKuSRc8) | - Encoded Transform API | Apr 2023 |
| `3.0.0-pre.6` | [M112](https://groups.google.com/g/discuss-webrtc/c/V-XFau9W9gY) | - Fix bugs | Jul 2023 |

## Licenses

Expand Down
4 changes: 2 additions & 2 deletions Runtime/Scripts/VideoStreamTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ public class VideoStreamTrack : MediaStreamTrack
internal static ConcurrentDictionary<IntPtr, WeakReference<VideoStreamTrack>> s_tracks =
new ConcurrentDictionary<IntPtr, WeakReference<VideoStreamTrack>>();

public enum VideoStreamTrackAction
internal enum VideoStreamTrackAction
{
Ignore = 0,
Decode = 1,
Encode = 2
}

[StructLayout(LayoutKind.Sequential)]
public struct VideoStreamTrackData
internal struct VideoStreamTrackData
{
public VideoStreamTrackAction action;
public IntPtr ptrTexture;
Expand Down
2 changes: 1 addition & 1 deletion ValidationExceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"ValidationTest": "Restricted File Type Validation",
"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.",
"PackageVersion": "3.0.0-pre.5"
"PackageVersion": "3.0.0-pre.6"
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.webrtc",
"displayName": "WebRTC",
"version": "3.0.0-pre.5",
"version": "3.0.0-pre.6",
"unity": "2020.3",
"description": "The WebRTC package provides browsers and mobile applications with Real-Time Communications (RTC) capabilities.",
"keywords": [
Expand Down

0 comments on commit ec47312

Please sign in to comment.