Skip to content

Commit

Permalink
Move capturer classes to 'capturer' package
Browse files Browse the repository at this point in the history
  • Loading branch information
shepeliev committed Sep 19, 2024
1 parent 295edc5 commit f813227
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.shepeliev.webrtckmp

import com.shepeliev.webrtckmp.capturer.CameraVideoCapturerController
import com.shepeliev.webrtckmp.capturer.VideoCapturerController
import com.shepeliev.webrtckmp.capturer.VideoCapturerErrorListener
import org.webrtc.VideoTrack

internal class LocalVideoStreamTrack(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ package com.shepeliev.webrtckmp
import android.Manifest
import android.content.pm.PackageManager
import androidx.core.content.ContextCompat
import com.shepeliev.webrtckmp.capturer.CameraVideoCapturerController
import com.shepeliev.webrtckmp.capturer.ScreenCapturerController
import org.webrtc.MediaConstraints
import java.util.UUID

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
package com.shepeliev.webrtckmp

package com.shepeliev.webrtckmp.capturer

import com.shepeliev.webrtckmp.CameraVideoCapturerException
import com.shepeliev.webrtckmp.DEFAULT_FRAME_RATE
import com.shepeliev.webrtckmp.DEFAULT_VIDEO_HEIGHT
import com.shepeliev.webrtckmp.DEFAULT_VIDEO_WIDTH
import com.shepeliev.webrtckmp.FacingMode
import com.shepeliev.webrtckmp.MediaTrackConstraints
import com.shepeliev.webrtckmp.WebRtc
import com.shepeliev.webrtckmp.value
import org.webrtc.CameraEnumerationAndroid
import org.webrtc.CameraVideoCapturer
import org.webrtc.Size
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package com.shepeliev.webrtckmp
package com.shepeliev.webrtckmp.capturer

import android.content.Context
import android.media.projection.MediaProjection
import android.util.DisplayMetrics
import android.view.WindowManager
import com.shepeliev.webrtckmp.DEFAULT_FRAME_RATE
import com.shepeliev.webrtckmp.MediaProjectionIntentHolder
import com.shepeliev.webrtckmp.WebRtc
import org.webrtc.ScreenCapturerAndroid
import org.webrtc.Size
import org.webrtc.VideoCapturer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.shepeliev.webrtckmp
package com.shepeliev.webrtckmp.capturer

import com.shepeliev.webrtckmp.MediaTrackSettings
import com.shepeliev.webrtckmp.WebRtc
import org.webrtc.Size
import org.webrtc.SurfaceTextureHelper
import org.webrtc.VideoCapturer
Expand Down

0 comments on commit f813227

Please sign in to comment.