Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Nov 27, 2024
1 parent 51bc275 commit 4c7603f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import com.pedro.encoder.input.sources.video.Camera1Source
import com.pedro.encoder.input.sources.video.Camera2Source
import com.pedro.extrasources.CameraXSource
import com.pedro.library.base.recording.RecordController
import com.pedro.library.rtmp.RtmpStream
import com.pedro.library.generic.GenericStream
import com.pedro.library.util.BitrateAdapter
import com.pedro.streamer.R
import com.pedro.streamer.utils.PathUtils
Expand Down Expand Up @@ -74,8 +74,8 @@ class CameraFragment: Fragment(), ConnectChecker {
fun getInstance(): CameraFragment = CameraFragment()
}

val genericStream: RtmpStream by lazy {
RtmpStream(requireContext(), this).apply {
val genericStream: GenericStream by lazy {
GenericStream(requireContext(), this).apply {
getGlInterface().autoHandleOrientation = true
getStreamClient().setBitrateExponentialFactor(0.5f)
}
Expand Down

0 comments on commit 4c7603f

Please sign in to comment.