Commit Graph

50 Commits

Author SHA1 Message Date
Kazuki Matsumoto 37d49b5266
fix: Remove polyfill (#999) 2024-07-26 10:30:01 +09:00
dependabot[bot] 985a0c04d2
chore: bump @babel/traverse from 7.19.0 to 7.23.2 in /WebApp/client (#955)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.19.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 17:08:24 +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
Takashi Kannan 008b81dc70
fix: Error on http signaling using short interval (#919)
* add timestamp on getall response

* use timestamp

* remove unused code

* fix newman test

* update package lock

* use same datetime and include sametime by fromtime

* permit change interval on signaling class

* fix test

* fix
2023-07-24 17:21:59 +09:00
Kazuki Matsumoto e592a60a44
fix: Add workaround to fix InputField that not receiving input event (#920)
* workaround: InputField

* fix

* fix test

* fix

* format

* fix
2023-07-24 09:35:15 +09:00
codec-abc e5f1430219
fix: Recompute video player position each time (#915)
* Recompute video player position each time

* fix testcase

---------

Co-authored-by: kazuki <karasusan@gmail.com>
2023-07-19 18:34:38 +09:00
dependabot[bot] ba102703fd
chore: bump word-wrap from 1.2.3 to 1.2.4 in /WebApp/client (#917)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 16:14:13 +09:00
dependabot[bot] ac9c780d34
chore: bump tough-cookie from 4.1.2 to 4.1.3 in /WebApp/client (#908)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 17:47:51 +09:00
dependabot[bot] 4aeb53a4d7
chore: bump @sideway/formula from 3.0.0 to 3.0.1 in /WebApp/client (#864)
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 10:18:17 +09:00
Kazuki Matsumoto d1fbce348a fix: websocket is in default as a signaling protocol (#836)
* set websocket default

* fix

* fix

* fix

* fix

Co-authored-by: Takashi KANNAN <takashi.kannan@unity3d.com>
2023-01-19 10:32:59 +09:00
Kazuki Matsumoto 579f88d4e7
fix: Add autocomplete attribute into input elements to avoid issue of "disabled" attribute on Firefox (#834)
* wip

(cherry picked from commit f73792b9c689bac448c1a85ce4db2b21ccdf5187)

* set autocomplete attribute for firefox

* add null check

* fix
2023-01-12 09:30:48 +09:00
Kazuki Matsumoto d0930e3880
fix: Fix TypeError in Bidirectional sample on Firefox (#832)
* Fix TypeError in Bidirectional sample on Firefox 108

* fix

* fix

* fix
2023-01-10 18:31:15 +09:00
Kazuki Matsumoto 22a662dee7
fix NullReferenceException in InputRemoting (#831) 2023-01-10 18:31:00 +09:00
dependabot[bot] 7c29abb4f5
chore: bump json5 from 2.2.1 to 2.2.3 in /WebApp/client (#828)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 15:17:42 +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 d1d0470f03
fix: Fix TypeError when reloading the web page of the Receiver sample (#786) 2022-09-30 14:13:55 +09:00
Takashi Kannan e4ee9d7f56
refactor: Change directory structure under WebApp (#760)
* create module directory

* move component webbroweserinput

* fix resolve path

* fix error

* fix test resolve path

* fix

* change directory structure

* [skip ci] update doc about webapp

* fix path

* fix argument on test
2022-09-07 17:20:56 +09:00
Kazuki Matsumoto 5dc6641721
chore: Update npm modules (#758) 2022-09-07 09:57:53 +09:00
Takashi Kannan 3d97d101bc
fix: Merged Multiplay sample to Receiver sample (#751)
* delete multiplay folder

* integrate receiver

* fix lint

* create datachannel from each sample

* remove unused method

* create renderstreaming

* fix

* apply renderstreaming to receiver sample

* fix

* fix bidireactional main.js

* Revert "delete multiplay folder"

This reverts commit 2a93ecf02acd115f507ebb2865abf28fee6dccd2.

* revert multiplay sample

* create video player control class

* fix

* fix

* fix

* add jsdoc for method

* addd jsdoc

* change renderstreaming constructor argument

* fix class

* fix

* add renderstreaming.test.js

* fix lint

* fix lint

* set code from each sample

* fix

* fix review

* handle multiplay channel on multiplay/main.js

* remove unused line
2022-09-06 17:23:44 +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
Takashi Kannan e62796fb40
feat: Webserver pointer lock support (#719)
* Added support for Pointer Locking in Receiver Sample

* Added support for Pointer Locking in Receiver Sample

Co-authored-by: Walentin Lamonos <walentinlamonos@googlemail.com>
2022-07-21 14:10:32 +09:00
Kazuki Matsumoto c8703163d6
fix: Fixed the issue of signaling process when using HTTP mode (#694)
* fix httpsignaling

* workaround

* fix
2022-06-16 15:19:03 +09:00
Kazuki Matsumoto 5a61ffc57c
chore: Update package version of WebApp dependencies (#701)
* fix

* revert

* update package version

* fix

* ignore lint error

* fix

* fix

* fix

* fix

* fix
2022-06-14 20:01:59 +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
gawinwong 2ce095cab1
fix: Correct resize mapping bug (#686) 2022-05-24 16:15:35 +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
dependabot[bot] 953fc2e2ab
chore: bump minimist from 1.2.5 to 1.2.6 in /WebApp/client (#669)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 14:26:54 +09:00
saboorahmad 819842670c
doc: Update receiver/index.html (#671)
Correct the path to the Git repo reference on the client index.html.
2022-05-19 14:26:08 +09:00
dependabot[bot] 76b1c7dece
chore: bump follow-redirects from 1.14.7 to 1.14.8 in /WebApp/client (#647)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 15:08:59 +09:00
Kazuki Matsumoto 2430679bc3
fix: The delta value of MouseState is invalid when the browser send the mouse event to Unity (#642) 2022-02-15 12:49:03 +09:00
Takashi Kannan 58368cb60b
feat: Add a dropdown UI of microphone input on WebApp bidirectional sample (#634)
* add audioinput on webapp sample

* fix

* do not run callback when stopping streaming audio

Co-authored-by: kazuki <karasusan@gmail.com>
2022-02-09 14:24:32 +09:00
Jonathan Alexander e26d63bbec
fix: Let multiple keys be held at once (#620) 2022-02-08 12:59:50 +09:00
dependabot[bot] 1382b47152
chore: bump follow-redirects in /WebApp/client (#624)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 17:44:28 +09:00
dependabot[bot] 2bd47d702d
chore: bump node-fetch from 3.0.0 to 3.1.1 in /WebApp/client (#625)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 17:43:47 +09:00
Takashi Kannan b570e79d93
fix: Occurred error on browser when using Websocket (#605) 2021-12-06 17:00:14 +09:00
Kazuki Matsumoto e3ea539a09
doc: Fix sample documents and screenshots (#590)
* fix docs

* fix docs

* fix docs

* replace image

* fix docs

* fix doc
2021-11-25 11:08:30 +09:00
Kazuki Matsumoto 1cbd71dc84
fix: Fix position of mouse pointer on browser (#586) 2021-11-22 13:58:05 +09:00
Takashi Kannan 94e36acf50
Fix: delete connection process on httpsignaling (#584) 2021-11-18 18:20:40 +09:00
Takashi Kannan ed7dd71e1d
fix: Fixed Peer class to change behavior same with Unity side (#580)
* fix add track same behavior on unity side

* add get transceivers method

* fix peerconnectionmock and add test about peerconnection
2021-11-17 11:40:13 +09:00
Kazuki Matsumoto ed438add91
fix: Fix web client error on bidirectional sample (#579) 2021-11-11 08:47:04 +09:00
Takashi Kannan 70dba6e711
feat: Add a sample page "Receiver" for web-client (#562) 2021-11-05 17:37:55 +09:00
Kazuki Matsumoto 1c6bd8a036
fix textevent (#564) 2021-11-04 13:23:16 +09:00
Kazuki Matsumoto 49fd70fb25
chore: Replace favicon to the new Unity icon (#556) 2021-10-28 10:45:43 +09:00
Kazuki Matsumoto 67046ee993
chore: Upgrade package version 3.1.0-exp.2 (#554)
* upgrade package version 3.1.0-exp.2

* fix webapp package version
2021-10-26 12:05:58 +09:00
Kazuki Matsumoto d6f2ab778e
feat: Touch event support for multiplay sample (#552) 2021-10-21 11:13:58 +09:00
Kazuki Matsumoto 284aac8d92
feat: InputSystem command parser for web client (#550) 2021-10-15 10:53:04 +09:00
Takashi Kannan 35edccfd7a
test: Add mock class for testing with RTCPeerConnection on web client (#549)
* add peerconnection mock

* implement setdescription method on peermock

* add argument about resendoffer interval

* add peer connection test

* implement ontrack/onicecandidate test
2021-10-14 16:52:46 +09:00
Takashi Kannan cdb2ce0e09
feat: add test for webapp client (#547)
* unified peer class on video player

* fix signaling on videoplayer

* implement mocksingaling class for test

* fix mocksignaling

* add mocksignaling test

* set up httpsignaling test

* use describe each

* setup and fix http signaling test

* add mode argument

* fix mocksignaling

* fix signaling interval

* add jest dev server

* using jest web server on signaling test

* fix setup test on mocksignaling

* change package.lock.json to version 1 on webapp server

* implement getconnection on httpsingaling

* fix test interval

* change using portnumber

* add workaround for linux

* fix artifact path
2021-10-12 11:01:15 +09:00
Takashi Kannan 5f175bc9b1
feat: add lint for webapp client (#545)
* add eslint setting on webapp client

* fix lint

* add eslint and fix lint

* fix webbrowserinput sample

* fix lint on windows

* execute lint for webapp client on ci

* use ecmaversion latest
2021-10-06 12:11:17 +09:00
Takashi Kannan 4eb8c6052f
feat: Add unittest for webapp using Jest (#541)
* update dependencies packages

* fix parse command line option

* enable esmodule on jest

* define webapp client test job on yamato

* define signaling handler on server

* setup server test

* add jest-websocket-mock

* fix handler argument

* implement basic test for http/wbsocket signaling handler

* fix lint

* fix tsconfig.json

* change linux vm image for webapp job

* fix jest command for win

* fix upm-ci-webapp.yml

* wait more time for running test server

* make client directory for webapp

* add cross env for client test

* fix httphandler on private mode

* fix review
2021-10-04 14:28:23 +09:00