Commit Graph

173 Commits

Author SHA1 Message Date
davidliu 77b6a60244 Fix crash on android in portrait (#74) 2022-01-25 22:00:58 -08:00
Hiroshi Horie 6dc9536c83 Server refreshed token (#73) 2022-01-25 10:46:46 +07:00
Hiroshi Horie 85efa92e57 rename to SubscriptionPermission 2022-01-25 09:38:24 +07:00
Hiroshi Horie aa718b79c7 update protos 2022-01-25 09:37:26 +07:00
Hiroshi Horie 224047c31f Session migration (#72)
* impl

* retry logic

* simulate

* pass checks

* adjust log level

* retry condition

* fix simulate scenario params

* format

* use `RTCPeerConnectionState` instead of `RTCIceConnectionState`

* adjust retry

* additional check for completer

* more logging

* fix id

* pub

* change package

* doc update

* retry tests

* format

* apply suggestions
2022-01-25 00:53:18 +07:00
Hiroshi Horie 56aeacc291 Capture client info (#71) 2022-01-18 16:16:05 +07:00
Hiroshi Horie 068876dc9c update protos 2022-01-13 14:54:01 +07:00
Hiroshi Horie 7799e35c13 deprecate inconsistencies in event properties 2022-01-11 00:51:16 +07:00
Hiroshi Horie a6a4e18551 override toString() for events 2022-01-11 00:40:20 +07:00
Hiroshi Horie 0f41aed902 deprecate setter for enabled, organize RemoteTrackPublication 2022-01-11 00:07:35 +07:00
Hiroshi Horie aef1fd8804 Subscription permission API (#68)
* signal

* request

* implement

* rename event

* ref

* adjustments based on review

* override subscribed

* move events emit

* fix subscription state

* minor change

* update example for permissions demo

* format & subscriptionState as computed property

* prepare macos build

* unsubscribed event when subscription not allowed
2022-01-10 23:48:44 +07:00
Hiroshi Horie cc7db0ba73 minor internal change 2022-01-08 17:02:06 +07:00
Hiroshi Horie a35ba65793 proto update 2022-01-07 14:38:55 +07:00
Hiroshi Horie fed657adae Wait for data channel to open (#67)
* impl

* log
2022-01-07 14:34:57 +07:00
Hiroshi Horie 677ad94e75 more logging for dynacast 2022-01-03 16:37:51 +07:00
Hiroshi Horie 4cd28ae1bd more info for new feature 2022-01-03 09:23:54 +07:00
Hiroshi Horie e154f7ace0 prepare 0.5.6 2022-01-03 09:19:21 +07:00
Hiroshi Horie ea5c324328 Dynacast (#62)
* signal

* engine

* dynacast option

* implement

* update for non simulcast

* use low when rid is null

* firefox comment
2022-01-03 09:02:06 +07:00
Hiroshi Horie 44a42eafea name field for participant 2022-01-02 01:38:54 +07:00
Hiroshi Horie 252ee3ed3b make properties read-only 2022-01-01 13:31:07 +07:00
Hiroshi Horie 45a567da70 expose mime type 2022-01-01 13:19:03 +07:00
Hiroshi Horie 1748b3aea3 proto update 2022-01-01 13:09:19 +07:00
Hiroshi Horie 38328c5e0d Fix: Visibility Optimization randomly not working (#65)
* use widget id instead of state id

* ignore local video view events

* switch remote view visibility also

* use Key for a reliable id

* remove local check

* clean up

* redesign

* check mounted

* remove mount check

* more optimization

* quick wake up

* mark internal

* rename to adaptiveStream
2022-01-01 12:59:24 +07:00
Hiroshi Horie b8e50f9276 more docs & clean up 2021-12-23 03:48:19 +07:00
Hiroshi Horie fc2890e94e move internal types 2021-12-23 03:21:56 +07:00
Hiroshi Horie be01553ac2 ignore new data on disposed socket 2021-12-23 03:06:43 +07:00
Hiroshi Horie 94b4b07e92 fix reconnect logic 2021-12-23 01:50:58 +07:00
Hiroshi Horie a0c7744baa fix dispose triggering onDispose twice 2021-12-23 01:50:14 +07:00
Hiroshi Horie 91f73bcdab remove unnecessary code 2021-12-22 03:13:35 +07:00
Hiroshi Horie 1ed757aca0 organize dirs 2021-12-21 17:57:18 +07:00
Hiroshi Horie 249525ee90 update protos 2021-12-21 12:35:21 +07:00
davidliu 435def8f2c Separate sub/pub data channels (#60) 2021-12-17 20:02:02 -08:00
Hiroshi Horie f458f052a5 Fix: RemoteTrack's initial mute state (#59) 2021-12-17 12:26:33 +07:00
Hiroshi Horie fa063ac352 Fix: move waitFor<EngineConnectedEvent> after creating remote participants (#58)
* wait after creating participant

* fix

* wait after creating remote participants

* remove unnecessary line

* revert additional checks (unlikely to be required)

* clean up logs

* revert comment
2021-12-16 14:29:42 +07:00
Hiroshi Horie e015f62b9c more logging 2021-12-16 03:30:48 +07:00
Hiroshi Horie 28e7091325 Send video layers (#55)
* signal method

* videoLayers param on addTrack request

* screen share presets

* implemented

* cleaner syntax
2021-12-15 19:09:38 +07:00
Hiroshi Horie b24fad0f3b better platform check 2021-12-15 18:44:01 +07:00
Hiroshi Horie 3d5e8a7dd8 update presets 2021-12-14 13:47:29 +07:00
Hiroshi Horie 4e83609819 screen share presets 2021-12-14 00:55:47 +07:00
Hiroshi Horie a82c5a7a50 VideoDimensions instead of width height 2021-12-13 21:49:42 +07:00
Hiroshi Horie 3384bc6c6e data channel state logging 2021-12-13 12:01:02 +07:00
Hiroshi Horie 4a025a4ed2 prepare v0.5.5 2021-12-13 02:53:47 +07:00
Hiroshi Horie b6494a8ede Default capture options (#51)
* default capture options

* separate camera & screen share capture options
2021-12-13 02:21:46 +07:00
Hiroshi Horie b91c822fba more docs 2021-12-12 19:09:38 +07:00
Hiroshi Horie 8041f45def option docs 2021-12-12 18:32:34 +07:00
Hiroshi Horie 93d0bc0c19 logger docs 2021-12-12 18:17:48 +07:00
Hiroshi Horie 477a08b325 exception docs 2021-12-12 18:11:02 +07:00
Hiroshi Horie cccd9b5b0f signal & engine events marked internal 2021-12-12 17:55:31 +07:00
Hiroshi Horie b85ecc1588 Fix: mute Remote mute/unmute events (#54)
* fix

* format
2021-12-12 14:01:58 +07:00
Hiroshi Horie 2b88ffd5f9 better logging for mute 2021-12-11 18:26:58 +07:00