Skip to main content
Participant
April 15, 2013
Question

NetStream.close() freezes in iOS 6.1.2

  • April 15, 2013
  • 1 reply
  • 992 views

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 has been closed for replies.

1 reply

Geph0rceAuthor
Participant
April 17, 2013

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

Adobe Employee
April 17, 2013

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

Geph0rceAuthor
Participant
April 18, 2013