Commit Graph

105 Commits

Author SHA1 Message Date
Kazuki Matsumoto c3a29d1d91
fix: Upgrade WebRTC package 3.0.0-pre.7 (#953)
* fix

* fix

* Upgrade package version

* fix

* add post process to build iOS runtime

* fix

* postprocess for ios

* fix
2023-11-21 09:48:51 +09:00
Takashi Kannan 0e46feeced
fix: Re-save Bidirectional sample scene in 2020.3 (#933) 2023-08-02 15:29:00 +09:00
Brian Harrison e24eb78092
fix: DataChannel closing all connections (#925)
* fix: Fix closing all data channels when one client disconnects

* fix: Fix an exception from processing input after removing data channel.

* test: Add test for DataChannel disconnecting with multiple connections.
2023-07-26 12:20:57 +09:00
Kazuki Matsumoto 80892ce7d0
fix: Remove Furioos integration (#926) 2023-07-25 14:03:09 +09:00
Kazuki Matsumoto cef8d001ad
fix: Fix thte issue that ICE server configuration are not changed (#923)
* Fix script error

* Add ICE settings Web UI

* fix default settings

* fix

* format
2023-07-25 09:24:17 +09:00
Kazuki Matsumoto 616f04efd3
refactor: Install managed code formatter (#913)
* code format

* format

* fix
2023-07-19 15:57:29 +09:00
Takashi Kannan 3820af30c8
feat: Add loopback flag on audio stream sender (#916)
* add loopback flag on audio stream sender

* add test

* add component property
2023-07-19 10:26:07 +09:00
Kazuki Matsumoto b16408251a
fix: Fix SetTextureSize when using VideoSourceType.Texture (#885)
* fix SetTextureSize when using VideoSourceType.Texture

* fix

* fix

* fix
2023-02-21 19:07:13 +09:00
Takashi Kannan 59880141f2
Fix: fix the version of Serialized Reference Object by URP/HDRP scene (#877)
* fix reference object version

* change settings
2023-02-15 15:59:35 +09:00
Kazuki Matsumoto 85eeae6762
fix: Fix RenderPipeline sample scene (#874) 2023-02-14 19:01:20 +09:00
Kazuki Matsumoto 555026b987
fix: Fix primary touch position on iPa (#867) 2023-02-13 10:24:44 +09:00
Kazuki Matsumoto 3dbcc541ab
doc: Update package documents for 3.1.0-exp.6 (#866)
* create docs

* revert

* revert

* fix

* fix

* fix

* fix

* fix

* fix

* fix changelog

* fix list number

* fix

* Apply suggestions from code review

Co-authored-by: Takashi Kannan <26959415+kannan-xiao4@users.noreply.github.com>

* fix

* fix

* revert

* fix

---------

Co-authored-by: Takashi Kannan <26959415+kannan-xiao4@users.noreply.github.com>
2023-02-10 19:17:40 +09:00
Takashi Kannan 8d1277e3b1
feat: Notify dialog on import sample. (#860)
* add settings for sample

* add popup prefab

* add popup each sample scene

* add automatic streaming toggle on menu

* remove popup on runtime

* add setup dialog

* sample setup

* delete settings when delete samplesetup.cs

* add set editor class

* change settings  from sample dialog

* fix review
2023-02-10 15:26:06 +09:00
Kazuki Matsumoto 48ab2b6eb2
feat: Define SignalingSettings asset to make portable signaling configurations (#854)
* Fix SignalingManager inspector

* fix bugs

* fix

* fix

* fix

* fix

* fix
2023-02-03 18:05:04 +09:00
Kazuki Matsumoto ee88e26987
refactor: Rename RenderStreamingHandler class (#852) 2023-01-30 15:55:58 +09:00
Kazuki Matsumoto 8a70507a73
feat: Define IceServer class to control signaling settings with APIs (#848)
* fix

(cherry picked from commit 72834442a85fd3952bf2751cd1a47dd1dabd017d)

* fix

* fix

* fix

* fix

* workaround

* workaround

* workaround
2023-01-26 14:16:22 +09:00
Takashi Kannan 623c7cb61b
feat: Implement Automatic Streaming component (#844)
* rename renderstreaming handler

* create skeleton about renderstreaming settings class

* add websocket signaling settings class

* signaling handler can add/remove at runtime

* implement automatic streaming

* run on initialize automatic

* avoid exception

* set false for not run automatic streaming

* rename

* add test

* fix test

* dont provide renderstreaming setting overwrite method

* add handler test

* fix review

* replace propety signaling settings

* [skip ci] comment

* fix signaling interval propety

* revert comment out

* fix render streaming handler editor
2023-01-24 17:28:11 +09:00
Takashi Kannan f06b37a91c
feat: Create skeleton about Render Streaming Settings class (#842)
* rename renderstreaming handler

* create skeleton about renderstreaming settings class

* fix review
2023-01-20 14:18:05 +09:00
Kazuki Matsumoto ba9c3ddc86
fix: Make available to change properties of VideoStreamsender and AudioStreamSender while streaming (#839)
* wip

* fix

* wip

* Add VideoStreamSource dropdown in Broadcast sample

* fix scene

* fix

* wip

(cherry picked from commit 83b800497ee5050540cb575c153c07d1a61363f9)

* fix

* fix

* workaround
2023-01-19 17:57:34 +09:00
Kazuki Matsumoto b6fb8dfeb3
fix: Add timeout for waiting RTCRtpReceiver.GetStats coroutine (#825) 2023-01-10 10:15:42 +09:00
Takashi Kannan b2d600be62
fix: Migrate renderpipeline and broadcast sample scripts (#826)
* migrate renderpipeline sample scripts

* chagne light intensity for hdrp

Co-authored-by: kazuki <karasusan@gmail.com>
2023-01-06 17:17:56 +09:00
Kazuki Matsumoto 33cec295fd
fix: Fix exceptions in Broadcast sample scene (#822)
* fix exceptions

* fix

* fix bugs
2023-01-06 10:03:43 +09:00
Cova8bitdots 2a0b9de442
fix: Fix AFoundationSample when disable script (#821) 2022-12-23 14:57:48 +09:00
Kazuki Matsumoto af278a497e
fix: Fix option title of av1 video codec on inspector window (#820) 2022-12-22 18:05:07 +09:00
Kazuki Matsumoto 53ff13db46
fix: Recalculate input region to correct pointer position from mouse/touchscreen (#800) 2022-11-01 17:33:38 +09:00
Kazuki Matsumoto afeac3f58d
test: Add test cases to increase test coverage for public APIs (#798)
* wip

* move WebBrowserInputChannelReceiver

* add test for InputSender and InputReceiver

* move namespace

* wip

* fix

* fix test

* wip

* addtests

* revert

* fix test error

* ignore test
2022-11-01 10:56:26 +09:00
Kazuki Matsumoto 8d922b7347
fix: Call GetStats multi times at the same time in StatsUI (#783)
* wip

* fix

* dispose explicitly
2022-10-05 10:01:30 +09:00
Kazuki Matsumoto e5e80df7e1
chore: Add CI job to generate code coverage report (#785)
* add job to generate code coverage report

* fix

* fix

* change assembly name
2022-09-30 10:59:23 +09:00
Kazuki Matsumoto c4c8c126db
fix: Fix the parameter urlSignaling in the Receiver scene (#775) 2022-09-26 18:25:45 +09:00
Takashi Kannan 51390dc0a6
fix: Sync setting parameters and UI in Broadcast sample (#784) 2022-09-26 15:39:55 +09:00
Kazuki Matsumoto 2a08afbc5e
fix: Fix the process of destroying WebCamTexture in VideoStreamSender (#773)
* Fix the process of destroying WebCamTexture in VideoStreamSender

* fix bug

* fix comment

* workaround for CI environment

* fix test

* fix test

* remove

* fix for android vulkan on Unity2022.1
2022-09-14 14:59:38 +09:00
Kazuki Matsumoto 4118d94082
fix: Add SampleManager to manage global settings for sample (#772)
* Add scenemanager

* fix bug

* fix
2022-09-13 10:05:55 +09:00
Takashi Kannan 6e110e79a6
fix: Fix NullReferenceException on receiver sample (#771) 2022-09-12 14:24:17 +09:00
Kazuki Matsumoto 5028ac6ccb
fix: Fix InvalidOperationException in WebBrowserInput sample (#767) 2022-09-09 18:22:03 +09:00
Kazuki Matsumoto caeca702ee
fix: Fix VideoSteramSource in Broadcast sample (#766) 2022-09-09 13:52:11 +09:00
Kazuki Matsumoto 418f914e9b
fix: Avoid exception when using VideoStreamSource.Texture as in the Broadcast sample (#762)
* Avoid exception when using VideoStreamSource.Texture type as the VideoStreamSource in VideoStreamSender.

* fix
2022-09-08 17:21:01 +09:00
Kazuki Matsumoto df7212834b
feat: Add AudioStreamSenderEditor (#757)
* Add AudioStreamSenderEditor /AudioStreamReceiverEditor

* remove MicrophoneStreamSender

* fix

* fix error

* fix

* fix bug

* fix

* fix

* update scenes
2022-09-06 13:35:59 +09:00
Kazuki Matsumoto 73b833348a
feat: Add VideoStreamReceiverEditor (#756)
* Add VideoStreamReceiverEditor

* rename member name in VideoStreamSender class

* fix script error

* Select API Only option in VideoStreamReceiver

* fix bug

* fix scene

* fix error
2022-09-06 09:54:56 +09:00
Kazuki Matsumoto 0f670237d9
doc: Update CHANGELOG for 3.1.0-exp.4 (#755)
* update changelog

* change access permission of ShowStatsUI class

* fix docs
2022-09-02 09:40:50 +09:00
Kazuki Matsumoto c17a4c8718
feat: Add dropdown UI to select video source option (#738)
* Add VideoSource in VideoStreamSender class

* remove classes inherit VideoStreamSender

* remove class

* add comment

* fixed unittest fail

* fix test fail

* fix

* [skip ci] test

* [skip ci] test

* wip

* throw exception when set properties after streaming is started

* fix crash
2022-09-01 07:29:22 +09:00
Kazuki Matsumoto b8cbbf4cbe
feat: Add CodecDrawer (#750)
* add codec class

* wip

* wip

* wip

* fix

* refactor
2022-08-31 11:53:19 +09:00
Takashi Kannan cfdf5ed667
feat: Add Stats UI at runtime (#745)
* add stats ui

* add stats ui to broadcast sample

* fix

* fix

* add stats ui to sample

* assign component

* remove stats when stop stream

* add more codec info

* change toggle to button

* expose streambase component on signalinghandlerbase

* fix stats ui

* fix scene setting

* observe change signalinghander

* fix each sample scene

* show stats on webapp

* fix compile error on unity 2020.3

* fix bitrate unit

* fix conflict

* stop stats interval when disconnect

* clear messagediv

* fix
2022-08-26 14:09:42 +09:00
Kazuki Matsumoto 6a6ddcae35
feat: Add SetCodec method (#737)
* Add SetCodec method

* fix

* use prefered codecs

* Update com.unity.renderstreaming/Runtime/Scripts/VideoStreamSender.cs

Co-authored-by: Takashi Kannan <26959415+kannan-xiao4@users.noreply.github.com>

* remove unused code

Co-authored-by: Takashi Kannan <26959415+kannan-xiao4@users.noreply.github.com>
2022-08-26 11:37:45 +09:00
Kazuki Matsumoto 25cdaf36db
fix: Change argument of SetBitrate to set value as range (#736)
* Add parameter minBitrate and maxBitrate

* fix
2022-08-22 22:22:10 +09:00
Takashi Kannan 5b3e559963
feat: Add sender parameter setting UI in Broadcast sample (#730)
* fix setting parameter set process

* add senderoption ui on broadcast sample

* fix

* throw when bitrate less than 0

* fix scaledown test
2022-08-09 16:48:28 +09:00
Takashi Kannan f35cd1317c
feat: Add sender/receiver codec selection UI on menu scene (#726)
* remove scripts

* select video codec in menu on sample

* update scene file

* add sender option

* use select sender codec on multiplay/bidirectional

* fix apply receiver codec

* fix test error

* add filter codec test

* Revert "fix test error"

This reverts commit 39a1c66cedb6c90d1d3f480a5159e72756742b7a.

* check reference stas codecid

* no use cast

* skip filtercodec test on playmode

Co-authored-by: kazuki <karasusan@gmail.com>
2022-08-08 17:27:11 +09:00
Kazuki Matsumoto 4bf74c2e03
feat: Add media streaming configuration APIs (#725)
* add test

* fix

* rename

* fix
2022-08-04 17:18:29 +09:00
Takashi Kannan f15aafad9f
feat: Add dropdown UI to select video codec in sample scenes (#687)
* add setcodec process

* select available codec each stream base

* create available codecs utils

* fix test

* add codec select on receiver sample

* separate audio/video codec select

* add video codec select to sample

* add codec select each sample

* delete hwcodec checkbox

* fix warning

* exclude flexfec-03

* fix set audio source timing

* fix review
2022-06-01 13:17:06 +09:00
Takashi Kannan eb1073ecd2
feat: Select video resolution on Unity and WebApp (#688)
* add resolution setting on menu

* add resolution setting on bidirectional sample

* fix test

* select or input resolution
2022-05-30 18:37:33 +09:00
Takashi Kannan 692336279f
feat: Select video codec on WebApp (#684)
* add codec select in receiver on webapp

* add error message view

* add create connection process

* fix style

* add codec select in bidirectional on webapp

* add codec select in multiplay

* show message about notsupport setcodecpreference

* set source each started send stream

* fix lint

* fix client test

* fix multiplay sample index.html

* fix link

* check codecs setting

* fix
2022-05-24 16:09:56 +09:00