File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ This plugin is a work in progress and has been built to show the steps of creati
44
44
## How To Use
45
45
46
46
47
-
47
+
48
48
1 . Start a screen recording
49
49
50
50
``` csharp
@@ -58,12 +58,25 @@ ReplayKitUnity.StartRecording();
58
58
ReplayKitUnity .StopRecording ();
59
59
```
60
60
61
- ### Recieve Recorded video file
61
+ 3 . Get the video file after recording is complete
62
62
63
- //TODO:
63
+ a) Subscribe to the onStopCaptureWithFile action in ReplayKitUnity
64
+
65
+ ``` csharp
66
+ ReplayKitUnity .Instance .onStopCaptureWithFile += OnStopRecording ; (connect to your function )
67
+ ```
68
+
69
+ b) Use the VideoPlayer Unity componnent or any video playback technique to play the .mp4
70
+
71
+
72
+ 4 . Get notified when the recording has started
73
+
74
+ ``` csharp
75
+ ReplayKitUnity .Instance .onStartRecording += OnStartRecording ; (connect to your function )
76
+ ```
64
77
65
78
66
79
## Contact:
67
- - Email: sonam@ustwo .com
80
+ - Email: sdhingra89@gmail .com
68
81
69
82
You can’t perform that action at this time.
0 commit comments