Comments (8)
Hi, how to save the recorded video to the gallery??
from everyplay-unity-sdk.
@ripegooseberry Sorry mate, they might have moved it. Heres the steps I followed to find the video. Im doing it step by step while I check on the latest game we made.
- Open xcode
- in xcode, go to window->devices
- select your ios device in the devices panel and double click on your game under "Installed Apps". This will then show you a full file listing of whats going on with your game.
- Now you know where to look, start up your app and do a recording with everyplay.
- Once you are sure you have a valid recording, double click on your app in the xcode devices panel and look at your file system again. Remember, Everyplay cleans up after itself, so it has to be recent.
- This time, I found my video in the "tmp" folder. The path was tmp/Everyplay/sesson//screen.mp4.
I think, to get to the tmp folder, you use "Application.temporaryCachePath" but you should be able to get to it no matter what using a little path magic eg "../".
Hope that helps!
from everyplay-unity-sdk.
It is rather a pity - sometimes users are on long plane flights or in areas where uploading is not convenient (slow internet etc) ... would be great if there is a way to access several replays locally instead of only the last one... or if there is a way to access recordings to save them locally persistently
from everyplay-unity-sdk.
Yea. You can find the videos usually in Everyplay cache or the default unity Cache folder. Everyplay only stores on play back at a time but you can copy the video out of the cache folder before its shared and then share it later. If you are not going to record any more videos, you can just call the share method when you are ready instead of copying files.
from everyplay-unity-sdk.
@collectivemass I tried to follow your hint and started looking for the video in Cache folder during playback.
I found no video in Caches on iOS :( I did find it only on Android (but I really need iOS).
I looked in Application.persistentDataPath, Application.dataPath, Application.temporaryCachePath
Were you able to find the video file in Caches on iOS during playback? If so, in which subfolder?
Thanks again.
from everyplay-unity-sdk.
Hi, what is the video's path in Android device?
from everyplay-unity-sdk.
Currently there is no public api to achieve this. Videos are intended to be shared through Everyplay.
from everyplay-unity-sdk.
I am able to save the video locally but the problem i am facing is that it save a video locally only once means the first video after making build, so i want to know to save all the video made by Everyplay.
Here is my code:
public void SaveVideoInCameraRoll()
{
Debug.Log ("Reaching stage 111");
var root = new DirectoryInfo(Application.persistentDataPath).Parent.FullName;
Debug.Log ("Reaching stage 222");
var everyplayDir = root + "/tmp/Everyplay/session/";
Debug.Log ("Reaching stage 333");
var files = new DirectoryInfo(everyplayDir).GetFiles("*.mp4", SearchOption.AllDirectories);
Debug.Log ("Reaching stage 444");
var videoLocation = "";
foreach (var file in files)
{
videoLocation = file.FullName;
Debug.Log("Temp Fiele = "+ videoLocation);
}
Debug.Log("Fiele length = "+files.Length);
FileInfo info = new FileInfo(videoLocation);
if (info == null || info.Exists == false)
Debug.Log ("File is not exist");
else
Debug.Log ("File Exists = ");
videosave.CopyVideoToCameraRoll(videoLocation);
}
from everyplay-unity-sdk.
Related Issues (20)
- First time open crash on Huawei honor devices. HOT 2
- ThumbnailReadyAtTextureIdDelegate does not exist HOT 3
- Use gradle build require Android ndk? HOT 2
- Build APK error HOT 1
- xcode crash when trying to share using everyplay HOT 6
- FaceCamRequestRecordingPermission always returns false HOT 1
- First install game and run crash on HUAWEI device HOT 1
- Android Build Failed : "Found plugins with same names and architectures" HOT 3
- Android build not work and show no error log HOT 6
- I can not record the sound of movies played with EasyMovieTexture HOT 1
- There was a problem with this specific OpenGL graphics pipeline setup, recording support disabled. HOT 2
- API access for upload HOT 1
- Facebook Error HOT 2
- Not working in Unity5.2.0f X64 HOT 2
- Unity3D error when building an Android apk HOT 4
- ld: framework not found EveryplayCore HOT 4
- Could not find activity: Unable to find explicit activity class HOT 2
- Everyplay HUD Camera crashed on Unity2018-iOS HOT 1
- Everyplay.IsRecordingSupported() issue? HOT 3
- Final SDK and Android 19 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from everyplay-unity-sdk.