Commit Graph

187 Commits

Author SHA1 Message Date
Hiroshi Horie e7b158f41d equality for video types 2022-02-25 16:23:32 +09:00
Hiroshi Horie 0a339b6252 organize video types 2022-02-25 15:45:46 +09:00
Hiroshi Horie 8b4f754059 fix presets 2022-02-22 10:36:43 +07:00
Hiroshi Horie 2366eb9f7c update presets (#85) 2022-02-22 03:13:09 +07:00
Hiroshi Horie 96fcecee7b proto updates 2022-02-18 13:20:57 +07:00
Hiroshi Horie c465d37c88 start preparing for 0.5.7 2022-02-17 14:58:16 +07:00
davidliu c374283f45 Ensure even video dimensions (#82)
gotcha, I think we may have to do some work iOS later to properly grab the actual capture dimensions rather than rely on the dimensions we request, to properly do the calculations.

That said, I think m97 is now handling the odd dimensions properly, so I don't think we'll need this fix anymore.

As for adaptOutputFormat, flutter_webrtc is already doing that (though it doesn't seem to prevent the crash on m93). Should native android use this as well?
2022-02-16 01:15:41 +09:00
Hiroshi Horie a2e8643ebb implement queue to events emitter 2022-02-14 17:15:10 +07:00
Hiroshi Horie b504afc612 fix web platform connect issue 2022-02-10 21:27:17 +07:00
davidliu 29c2117453 handle room update message (#79) 2022-02-07 12:37:47 +09:00
davidliu 9bd546b9a2 tests and mocks for e2e testing (#78)
* tests and mocks for e2e testing

* formatting

* fix analyze errors
2022-02-06 20:36:42 +09:00
davidliu 0d92c569df update track settings (#77) 2022-02-03 20:27:26 +09:00
Hiroshi Horie cf476e365b remove client side ua parsing 2022-01-31 20:03:14 +07:00
Hiroshi Horie 4aa0e0f427 Use ParticipantTracks for UpdateSubscription (#75)
* impl

* fix
2022-01-26 17:57:34 +07:00
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