Skip to main content
Participant
Apr 15, 2013 6:54 AM UTC
Question

NetStream.close() freezes in iOS 6.1.2

Hi,

Randomly (not always), when I close NetStream, the entire app just freezes.

Even performing a NetConnection.close() causes freezes.

some errors like this:

<Error>: 14:35:54.930 <AudioQueueQueue> AudioQueueObject::FreeBuffer: AQBuffer * 0x1e53d330 has enqueue count of 1

Sometimes even simply renewing the current NetStream to "new NetStream()" or disposing it causes a freeze.

I am sure all this attributes to releasing resources and message passing between the client and FMS which probably ends up in a deadlock somewhere.

I'm not ruling out the possibility that this could also be a problem because of a slow internet connection.

What's the work around for that?

Instead of close() (if it's buggy i.e.) are there other alternatives to stop listening or sending media over netstreams?

If this is indeed a bug, I know Adobe won't let us know of it but I hope this is solved in the next AIR Release for iOS.

I'm testing this on an iOS 6.1.2 (iPhone 4) + Air 3.6

and iOS 5.0(iPod Touch 4) + Air 3.4 works fine

Any leads?

Thank you very much.

Geph0rce

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Geph0rceAuthor
Participant
Apr 17, 2013 7:51 AM UTC

change NetStream.bufferTime from 0 to 1, better now but sometimes still freeze!

Translate
Adobe Employee
Apr 17, 2013 1:08 PM UTC

Hi,

Thank you for your bug report. Could you please open a new bug at bugbase.adobe.com, kindly include sample media, code, project or app to help us reproduce the problem. Once added, please post back with the bug URL so that others affected can add their comments and votes.

Regards,

Nimit

Translate
Geph0rceAuthor
Participant
Apr 18, 2013 4:56 AM UTC