perchco / perchrtc

An iOS WebRTC demo using XirSys servers
MIT License
135 stars 34 forks source link

Sample buffer renderer & backgrounding #1

Closed ceaglest closed 9 years ago

ceaglest commented 9 years ago

The sample buffer renderer doesn't like being backgrounded during an active connection. AVSampleBufferDisplayLayer is very fickle about the application lifecycle: It immediately goes to the "failed" status as soon as your app enters the background, even if no frames are being actively enqueued to it.

FernandoWei commented 8 years ago

Hi ceaglest, have you ever fix it? I also suffer from it.