waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

MediaStore.ACTION_VIDEO_CAPTURE intent does not use duration limit or size limit #469

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Glassware app
2. Launch the following intent:
Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
intent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, 10);
intent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, 10485760);
startActivityForResult(intent, Constants.TAKE_VIDEO_REQUEST);

What is the expected output? What do you see instead?
Expected output is the video capture should stop after the duration limit of is 
reached, or the file size limit is reached.

What version of the product are you using? On what operating system?
Glass XE12.

Please provide any additional information below.
The MediaStore.EXTRA_DURATION_LIMIT should remove the extend option as well so 
that users can not extend it themselves.

Original issue reported on code.google.com by egfcon...@gmail.com on 16 Apr 2014 at 5:23

GoogleCodeExporter commented 9 years ago

Original comment by ala...@google.com on 21 Apr 2014 at 5:56

GoogleCodeExporter commented 9 years ago
Another thing you would expect is that if you set the duration limit higher 
than ten seconds glass should not stop after the original ten seconds.

Original comment by alexande...@gmail.com on 30 Jun 2014 at 2:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm Using Glass version XE 18.3 right now and I have the same problem.

Original comment by marco.bu...@gmail.com on 16 Jul 2014 at 3:15

GoogleCodeExporter commented 9 years ago
Those EXTRAs are now supported as of XE20.1.

Best,
Alain

Original comment by ala...@google.com on 21 Aug 2014 at 5:13

GoogleCodeExporter commented 9 years ago
Hi i am using this routine to record video. But I am unable to figure out as to 
how to retrieve the recorded video. Where is the video stored?

Original comment by Nidhi.sh...@gmail.com on 8 Jan 2015 at 8:03

GoogleCodeExporter commented 9 years ago
How do we get access to the  EXTRA_VIDEO_FILE_PATH object

Original comment by Nidhi.sh...@gmail.com on 8 Jan 2015 at 8:06

GoogleCodeExporter commented 9 years ago
You retrieve it in onActivityResult just like any video recorded.
Specifically see: https://developers.google.com/glass/develop/gdk/camera#videos

Original comment by egfcon...@gmail.com on 8 Jan 2015 at 8:10