Skip to content

Commit

Permalink
fix(android): camera and isMuted properties init
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed May 29, 2024
1 parent 42614ea commit 4e20be2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,16 @@ class LiveStreamView @JvmOverloads constructor(
val isStreaming: Boolean
get() = liveStream.isStreaming

var camera: CameraFacingDirection = CameraFacingDirection.BACK
var camera: CameraFacingDirection
get() = liveStream.cameraPosition
set(value) {
liveStream.cameraPosition = value
field = value
}

var isMuted: Boolean = false
var isMuted: Boolean
get() = liveStream.isMuted
set(value) {
liveStream.isMuted = value
field = value
}

var zoomRatio: Float
Expand Down

0 comments on commit 4e20be2

Please sign in to comment.