update readmes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user