Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Contributor
Posts: 4
Registered: ‎11-24-2010
My Device: Not Specified

Impossible to read external video

I tried to read a http flv file ("http://difflhttp.hvsdigital.com/havasdigital/templates/sample.flv")

 

- With the MediaPlayer api class , I have the #2044 error (text=play:5)

- With a classic NetConnection/NetStream , reads the video for 5 seconds then stops. No sound

- With the last osmf framework, same problem as above

 

Note: In a classic air or flex project this video is played correctly

 

Thanks

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Impossible to read external video

So the simulator is detecting your camera source?  I want not certain that the simulator could r/w any external media source (camera, speaker, microphone).  Did you check the APIs that postiviely detect these components?

New Contributor
Posts: 4
Registered: ‎11-24-2010
My Device: Not Specified

Re: Impossible to read external video

[ Edited ]

I do not see the connection with reading a file and the detection of my camera or my microphone

 

Is there a class to detect the presence of the speaker?

 

For information my iso works on vmware fusion and the audio is enabled.

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Impossible to read external video

Sound out does not work in the simulator yet.  As far as I know, there is no API to detect if speakers are connected.  Keep working on the video and microphone outside of the simulator for now.  Keep in mind there are 2 cameras on the device, so you will have to select and detect which camera is being activated.  Any code to share in this area may help others.

Developer
Posts: 137
Registered: ‎10-26-2010
My Device: Bold 9900 + PlayBook
My Carrier: Rogers

Re: Impossible to read external video

@jtegen

I don't think the OP is doing anything related to camera or microphone, re-read their original post.

 

@vnabet

Video is currently not supported in the simulator, they're working on it though.

--------
Taylor Byrnes
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Impossible to read external video

That was in response to a later question about knowing is sound was available.  Sorry for any confusion.

New Contributor
Posts: 4
Registered: ‎11-24-2010
My Device: Not Specified

Re: Impossible to read external video

thank you for your reply. I'll wait a bit