Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

iOs video capture won't play back

$
0
0

Sheesh, I have been scratching my head over this one for two days now.

I launch the camera on an ipad 2 using CameraUI (MediaType.VIDEO) and I record some video no problems.

 

Now, when I click the "use" button on the preview screen, my Flash app fires the necessary events and I can trace the path to the .MOV file as it should.

I then use a Video() , Netconnection and Netstream to try and playback that newly captured video.. but it's not playing. I tried setting render mode to GPU and AdHoc deployment as I read elsewhere.. still no video.

 

Here;s the part where I try and display the video:

[as3]

video = new Video();

addChild(video);

video.width = 640;

video.height = 480;

var conn:NetConnection = new NetConnection();

conn.connect(null);

//attach a stream  to the video-object

var stream:NetStream = new NetStream(conn);

video.attachNetStream(stream);

stream.client = new MobileClient();

//play the stream

stream.play(media); // media comes from MediaPromise -> media.file.url

[/as3]

 

Funny enough, it traces out the duration of the video, some weird width and height numbers but says that framerate is undefined. I've seriously looked everywhere for this answer.. even in Flash iOS Apps Cookbook. It just won't play back.

Also, I can't use StageVideo as I need this video to be playing inside of aother movieclips where I need them.

 

Any advice would be really great.


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>