update readmes
This commit is contained in:
@@ -2,8 +2,6 @@ name: Publish build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# test docs
|
|
||||||
branches: [ main ]
|
|
||||||
# only publish on version tags
|
# only publish on version tags
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
@@ -13,12 +11,6 @@ jobs:
|
|||||||
# This job will run on ubuntu virtual machine
|
# This job will run on ubuntu virtual machine
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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.
|
# Setup the flutter environment.
|
||||||
- uses: subosito/flutter-action@v1
|
- 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
|
### Connecting to a room, publish video & audio
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
var room = await LiveKitClient.connect(this.url, this.token);
|
var room = await LiveKitClient.connect(url, token);
|
||||||
try {
|
try {
|
||||||
// video will fail when running in ios simulator
|
// video will fail when running in ios simulator
|
||||||
var localVideo = await LocalVideoTrack.createCameraTrack();
|
var localVideo = await LocalVideoTrack.createCameraTrack();
|
||||||
|
|||||||
+1
-3
@@ -1,5 +1,3 @@
|
|||||||
# LiveKit Flutter Example
|
# LiveKit Flutter Example
|
||||||
|
|
||||||
This project creates a video room using LiveKit's Flutter SDK. Designed to run for iOS/Android. (web untested).
|
This app implements a video room using LiveKit's Flutter SDK. Designed to run for iOS, Android, and web.
|
||||||
|
|
||||||
Docs coming soon.
|
|
||||||
|
|||||||
@@ -200,9 +200,8 @@ class _VideoViewState extends State<VideoView> with ParticipantDelegate {
|
|||||||
!pub.isScreenShare &&
|
!pub.isScreenShare &&
|
||||||
pub.subscribed;
|
pub.subscribed;
|
||||||
});
|
});
|
||||||
|
|
||||||
setState(() {
|
setState(() {
|
||||||
if (subscribedVideos.length > 0) {
|
if (subscribedVideos.isNotEmpty) {
|
||||||
var videoPub = subscribedVideos.first;
|
var videoPub = subscribedVideos.first;
|
||||||
if (videoPub is RemoteTrackPublication) {
|
if (videoPub is RemoteTrackPublication) {
|
||||||
videoPub.videoQuality = widget.quality;
|
videoPub.videoQuality = widget.quality;
|
||||||
|
|||||||
Reference in New Issue
Block a user