update readmes

This commit is contained in:
David Zhao
2021-08-30 22:11:29 -07:00
parent ef00eda3b7
commit 4a75d78ef9
4 changed files with 3 additions and 14 deletions
-8
View File
@@ -2,8 +2,6 @@ name: Publish build
on:
push:
# test docs
branches: [ main ]
# only publish on version tags
tags:
- v*
@@ -13,12 +11,6 @@ jobs:
# This job will run on ubuntu virtual machine
runs-on: ubuntu-latest
steps:
# # Setup Java environment in order to build the Android app.
# - uses: actions/checkout@v1
# - uses: actions/setup-java@v1
# with:
# java-version: '12.x'
# Setup the flutter environment.
- uses: subosito/flutter-action@v1
+1 -1
View File
@@ -58,7 +58,7 @@ We built a multi-user conferencing app as an example in the [example/](example/)
### Connecting to a room, publish video & audio
```dart
var room = await LiveKitClient.connect(this.url, this.token);
var room = await LiveKitClient.connect(url, token);
try {
// video will fail when running in ios simulator
var localVideo = await LocalVideoTrack.createCameraTrack();
+1 -3
View File
@@ -1,5 +1,3 @@
# LiveKit Flutter Example
This project creates a video room using LiveKit's Flutter SDK. Designed to run for iOS/Android. (web untested).
Docs coming soon.
This app implements a video room using LiveKit's Flutter SDK. Designed to run for iOS, Android, and web.
+1 -2
View File
@@ -200,9 +200,8 @@ class _VideoViewState extends State<VideoView> with ParticipantDelegate {
!pub.isScreenShare &&
pub.subscribed;
});
setState(() {
if (subscribedVideos.length > 0) {
if (subscribedVideos.isNotEmpty) {
var videoPub = subscribedVideos.first;
if (videoPub is RemoteTrackPublication) {
videoPub.videoQuality = widget.quality;