diff --git a/Assets/Scripts/VideoCaptureHandler.cs b/Assets/Scripts/VideoCaptureHandler.cs index bc01744..c807cd9 100644 --- a/Assets/Scripts/VideoCaptureHandler.cs +++ b/Assets/Scripts/VideoCaptureHandler.cs @@ -101,7 +101,7 @@ public class VideoCaptureHandler : MonoBehaviour this.videoCapture.StartVideoModeAsync( cameraParameters, - VideoCapture.AudioState.None, + VideoCapture.AudioState.ApplicationAndMicAudio, OnStartedVideoCaptureMode ); } @@ -115,7 +115,7 @@ public class VideoCaptureHandler : MonoBehaviour { if (result.success) { - string filename = string.Format("WebView_{0}.mp4", Time.time); + string filename = string.Format("WebView_{0}.mp4", DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ")); string filepath = Path.Combine(Application.persistentDataPath, filename); Debug.Log("Saving Video to: " + filepath);