Skip to main content
Participant
September 22, 2011
Question

FLVPlayback on iOS: METADATA_RECEIVED never fires

  • September 22, 2011
  • 1 reply
  • 1327 views

Hey All,

I'm experiencing an issue with FLVPlayback 2.5 on iOS on a Flash CS5.5 app compiled under Air 2.7. It appears as though the METADATA_RECEIVED event never fires when testing directly on the device. It works fine in the IDE debugger, it works on the desktop player, and works on Android (tested only on Honeycomb thus far). A symptom of this metadata never be received under iOS means that flvPlayback.totalTime isn't available either.

Has anyone else experienced this issue and/or can confirm/deny my findings. Any kind of work-around or hack to make this work? Any help would be greatly appreciated.

Here's my code:

_flvPlayback = new FLVPlayback();

_flvPlayback.addEventListener(VideoProgressEvent.PROGRESS, flvProgress);

_flvPlayback.addEventListener(MetadataEvent.METADATA_RECEIVED, flvMetaDataReceived);

_flvPlayback.addEventListener(VideoEvent.READY, flvReady);

_flvPlayback.load(_url);

Thanks

This topic has been closed for replies.

1 reply

Participant
September 22, 2011

Update to anyone else having this issue:

The first FLV I was testing with was encoded with Adobe Media Encoder CS4; I just tested an encode with Adobe Media Encoder CS 5.5, also added some dummy metadata, and the problem has gone away; Though I can't say with surety yet whether the fix was to use CS 5.5, or to fill in some dummy metadata

Participant
September 22, 2011

OK, Correction... now sometimes it works and other times not. Again, any help would be greatly appreciated.

Participating Frequently
September 23, 2011

Hi Scott,

Are you setting the skin property? Since the skin is a swf with actionscript, using FLVPlayback component with skin doesn't work on iOS. If you continue to see the problem, I suggest that you file a bug at http://bugbase.adobe.com.

Thanks,

Sanika