Skip to content

Commit e7792b7

Browse files
authored
Fix ReplayPreviewClient (#456)
1 parent 9cffdeb commit e7792b7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

platform/jvm/replay/src/main/kotlin/io/bitdrift/capture/replay/ReplayPreviewClient.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ import java.util.concurrent.TimeUnit
2828

2929
/**
3030
* Allows to capture the screen and send the binary data over a persistent websocket connection
31-
* @param replayManager The replay module to use for screen capture
32-
* @param context The context of the app to capture
33-
* @param protocol The protocol to use for the websocket connection (default is ws)
34-
* @param host The host to connect to (default is Android's emulator loopback IP: 10.0.2.2)
35-
* @param port The port to connect to (default is 3001)
3631
*/
3732
class ReplayPreviewClient(
3833
errorHandler: ErrorHandler,
@@ -47,7 +42,7 @@ class ReplayPreviewClient(
4742
ReplayCaptureEngine(
4843
sessionReplayConfiguration,
4944
errorHandler,
50-
logger,
45+
this,
5146
MainThreadHandler(),
5247
WindowManager(errorHandler),
5348
DisplayManagers(context),

0 commit comments

Comments
 (0)