Improve example for better feature testing (#21)
* fixed * format * set track to null * rearrange * toggle subscribed * clean * `RemoteTrackPublicationMenuWidget` for mute/unmute subscribe/unsubscribe
This commit is contained in:
@@ -71,13 +71,7 @@ class _RoomPageState extends State<RoomPage> {
|
||||
// Create video track
|
||||
final localVideo = await LocalVideoTrack.createCameraTrack();
|
||||
// Try to publish the video
|
||||
await widget.room.localParticipant.publishVideoTrack(
|
||||
localVideo,
|
||||
// options: TrackPublishOptions(
|
||||
// // simulcast: true,
|
||||
// videoEncoding: VideoParameters.presetQVGA169.encoding,
|
||||
// ),
|
||||
);
|
||||
await widget.room.localParticipant.publishVideoTrack(localVideo);
|
||||
|
||||
// Create mic track
|
||||
final localAudio = await LocalAudioTrack.create();
|
||||
|
||||
Reference in New Issue
Block a user