Commit Graph

7 Commits

Author SHA1 Message Date
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
Brian Harrison 6522cfcee0
fix: Fix timed out sessions collecting in signaling server (#893)
* fix: Fix timed out sessions collecting in signaling server

* chore: Fix irregular whitespace

* test: Add test for stopping signaling and checking for timed out sessions

* chore: fix build error

* test: Fix breaks due to changing mock signaling

* test: Fix test failiure
2023-04-20 13:09:35 +09:00
Brian Harrison c62166cd3e
fix: Fix sessions lingering after they were timed out (#819)
For checkSessionId, there was a bug where it wasn't using the map syntax for setting the value.
Due to this, _checkDeletedSession wouldn't check if sessions were timedout.

In addition, posting offers after a connection was established would replace the connectionPair.
When the connectionPair is replaced, the code that checks for deleted sessions would no longer be checking the timedout session.
Resending offers occur if a PeerConnection goes into the disconnected state.
2022-12-22 10:04:45 +09:00
Takashi Kannan 897fac35f0
Fix: Handle dead connection for httpsingaling (#768)
* fix deleted connection handle

* fix test

* fix test error

* add test

* fix lint
2022-09-12 12:06:09 +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
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
Takashi Kannan 3c17ade431
feat: add more signalingtest for webserver (#543)
* divide test files

* add private signaling test on httphandler

* add more test about websockethandler

* fix typo

* add semi/jest lint and fix it
2021-10-05 15:16:45 +09:00