Commit Graph
100 Commits
Author SHA1 Message Date
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 HorieandGitHub 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 2b375033e9 bump pod ver 2021-12-23 04:04:03 +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 8f0e73487b update changelog 2021-12-23 02:01:00 +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
Hiroshi HorieandGitHub f458f052a5 Fix: RemoteTrack's initial mute state (#59) 2021-12-17 12:26:33 +07:00
Hiroshi HorieandGitHub 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 HorieandGitHub 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 d79e1f340c pass pub validation 2021-12-13 03:19:15 +07:00
Hiroshi Horie 4a025a4ed2 prepare v0.5.5 2021-12-13 02:53:47 +07:00
Hiroshi HorieandGitHub 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 90ca936d14 update pub dependencies 2021-12-12 14:14:27 +07:00
Hiroshi HorieandGitHub 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
Hiroshi HorieandGitHub 9c573f4924 Stream State Update (#53)
* implemented

* update docs
2021-12-11 14:18:35 +07:00
Hiroshi Horie 7e1164a74c fix imports 2021-12-10 23:14:21 +07:00
Hiroshi Horie 7a8f03963e fix imports 2021-12-10 00:27:43 +07:00
Hiroshi Horie a706a5e1fb organize ConnectOptions RoomOptions RTCConfiguration 2021-12-10 00:23:45 +07:00
Hiroshi Horie 303b6af427 signal events marked internal 2021-12-09 13:25:14 +07:00
Hiroshi Horie 6003258089 more docs 2021-12-09 13:22:03 +07:00
Hiroshi HorieandGitHub 0f5a758cd4 Create room without connecting (#49)
* initial commit

* fix example compile

* format

* clean up

* fix check

* missing import
2021-12-07 17:02:58 +07:00
Hiroshi Horie c4e56af4c0 format 2021-12-07 12:33:12 +07:00
Hiroshi Horie d20a6e2ddb fix compiling since VideoQuality moved to another file 2021-12-07 12:30:46 +07:00
Hiroshi Horie 5f12be5f11 update proto 2021-12-07 11:54:39 +07:00
Hiroshi Horie 24e26fde78 Merge branch 'main' of https://github.com/livekit/client-sdk-flutter 2021-12-07 02:04:45 +07:00
Hiroshi Horie 5ce12dae85 use setScreenShareEnabled for example 2021-12-07 02:04:08 +07:00
Hiroshi Horie d4a37dd720 fix compile 2021-12-07 02:03:53 +07:00
Hiroshi Horie e06936de2d sort imports
`flutter pub run import_sorter:main --no-comments`
2021-12-05 13:44:14 +07:00
Hiroshi Horie 0356599bd2 update flutter_webrtc, add import_sorter 2021-12-05 13:41:43 +07:00
Hiroshi Horie e75a8e1c01 update proto 2021-12-05 11:02:34 +07:00
Hiroshi Horie df33560426 CameraPosition docs 2021-12-05 10:59:42 +07:00
Hiroshi Horie 36173eb3c6 more docs 2021-12-03 11:47:47 +07:00
Hiroshi HorieandGitHub 77dc98601a Option to unpublish without stopping track (#45)
* implement

* rename

* only for local

* keep option

* no per unpublish option to stop track

* format

* format
2021-12-03 11:06:21 +07:00
Hiroshi Horie 679d0b81d3 update dependency 2021-12-03 02:13:14 +07:00
Hiroshi Horie 2244e31e5b throw if unknown track type 2021-12-03 02:02:28 +07:00
Hiroshi Horie c38f192a07 generics instead of covariant implementing for TrackPublication 2021-12-03 01:53:59 +07:00
Hiroshi Horie adc97a154b no casting required for getTrackPublicationBySource 2021-12-03 01:36:22 +07:00
Hiroshi Horie 19869a1575 minor fix 2021-12-03 01:10:40 +07:00
Hiroshi Horie f0995ef85e better type for TrackPublication param 2021-12-03 01:05:52 +07:00
Hiroshi Horie 9ef84dd4e2 no casting required for mute/unmute 2021-12-03 01:01:01 +07:00
Hiroshi Horie 4c66704427 participant to parent (TrackPublication) 2021-12-03 00:57:42 +07:00
Hiroshi Horie 2fe32f7d72 remove unnecessary cast 2021-12-03 00:17:56 +07:00
Hiroshi Horie e597e4f2fd move reference to engine to parent (Participant) class 2021-12-03 00:17:03 +07:00
Hiroshi Horie 08d9575ec5 better type for Participant.trackPublications 2021-12-03 00:08:30 +07:00
Hiroshi HorieandGitHub 15ff823da3 add pub badge 2021-12-02 21:52:51 +07:00
c8a6a3f0c1 Windows support (#34)
* generate windows files

* adjustments

* attempt compile

* Fix windows build

* Add note about VS 2019

* Update .gitignore

Co-authored-by: Artur Shellunts <[email protected]>
2021-12-02 21:20:10 +07:00
Hiroshi Horie 01902ef7eb example clean up 2021-12-02 14:28:59 +07:00
Hiroshi Horie 64a243a312 update example (no casting) 2021-12-02 14:21:41 +07:00
Hiroshi Horie a409ed0aca fix exports 2021-12-02 14:00:46 +07:00
Hiroshi Horie 20a0cabbb9 logging 2021-12-02 07:45:11 +07:00
Hiroshi Horie caa2e16fd8 return publication for TrackSource apis 2021-12-02 07:44:02 +07:00
Hiroshi Horie 725214e4f9 return correct type for publish 2021-12-02 07:37:48 +07:00
Hiroshi Horie 09eb52bc55 use object type instead of checking kind 2021-12-02 07:15:59 +07:00
Hiroshi Horie 1763676b98 lock file 2021-12-01 19:26:59 +07:00
Hiroshi HorieandGitHub 44864ff525 Type-aware Publication etc (static typing) (#43)
* implemented

* format

* add missing type
2021-12-01 12:15:09 +07:00
Hiroshi Horie 2cd3198cdd organize track & pub to directory 2021-11-30 17:29:18 +07:00
Hiroshi Horie 11a1d22e7f format 2021-11-30 16:04:37 +07:00
Hiroshi HorieandGitHub 8037d80674 Release camera/mic when muted, restartTrack when unmuted (#39)
* re-structure tracks

* publication.track is now a LocalTrack or RemoteTrack

* restartTrack when unmute

* stop/start on restartTrack

* move to mute/unmute

* format

* remove comment
2021-11-30 15:58:19 +07:00
Hiroshi Horie 9e0a3b19fe return casted list for videoTracks/audioTracks/subscribedTracks 2021-11-30 12:37:13 +07:00
Hiroshi Horie 2642b6e49d update protos 2021-11-29 11:22:25 +07:00
Hiroshi Horie 65c39404b5 enable simulcast by default 2021-11-28 16:43:25 +07:00
Hiroshi HorieandGitHub 357213e7e4 macOS support (#33)
* mac os support 1

* entitlements

* fix updateTrack bug

* clean

* throws on mac

* simplify structure

* lock
2021-11-24 21:32:40 +07:00
Hiroshi Horie f9c2622b4e fix updateTrack bug 2021-11-22 21:26:18 +07:00
Hiroshi HorieandGitHub 4f0973ce66 Match muted behavior with JS SDK (#32)
* attempt 1

* implement

* clean up

* clean up

* cleaner code

* mute was opposite

* fix suggestion

* fix local pub muted

* update example

* update pubs

* format
2021-11-20 02:39:52 +07:00
Hiroshi Horie 88799f8b76 simplified api example 2021-11-11 22:00:26 +09:00
Hiroshi Horie e542cb2ed9 Update Podfile.lock 2021-11-11 00:40:58 +09:00
Hiroshi Horie e3879d6025 format 2021-11-11 00:26:48 +09:00
Hiroshi Horie 807da3a76c Update CHANGELOG.md 2021-11-11 00:24:46 +09:00
Hiroshi Horie a5d9620cba Merge branch 'main' of https://github.com/livekit/client-sdk-flutter 2021-11-11 00:21:17 +09:00
Hiroshi HorieandGitHub 1095e25113 Simpler APIs (#28)
* TrackSource

* remove absolute import

* typo

* get track

* set source enabled

* fix symbol collision

* move to participant

* update proto

* screen share audio

* typo

* format

* change screen share name
2021-11-11 00:20:32 +09:00
Hiroshi Horie f3fad79793 more logging 2021-11-10 03:18:42 +09:00
Hiroshi Horie b2b7d86800 example: turn off autocorrect 2021-11-10 01:31:22 +09:00
Hiroshi Horie abae7a7ff7 Update CHANGELOG.md 2021-11-09 21:51:51 +09:00
Hiroshi Horie 5f813d7fbb prepare for 0.5.3 2021-11-09 21:14:15 +09:00
Hiroshi Horie 9a273fc834 update dependencies 2021-11-09 21:07:17 +09:00
Hiroshi Horie 3237e34230 looser ver constraint for WebRTC-SDK 2021-11-09 21:06:58 +09:00
Hiroshi HorieandGitHub d31daa5d8e Connection quality (#27)
* update protos

* signal event

* implemented

* format

* implement example

* protocol 5

* icon size
2021-11-06 17:36:47 +09:00
Hiroshi Horie 721b04753a remove unnecessary cast 2021-10-28 15:56:15 +09:00
Hiroshi Horie b42257473b LocalTrackPublishedEvent LocalTrackUnpublishedEvent 2021-10-28 15:55:25 +09:00