Video/audio streaming does not stop even if UIWebView is closed - iPad
Posted
by lostInTransit
on Stack Overflow
See other posts from Stack Overflow
or by lostInTransit
Published on 2010-04-27T06:53:00Z
Indexed on
2010/04/28
22:17 UTC
Read the original article
Hit count: 715
Hi
I see this issue only on the iPad. The same things works as expected on the iPhone.
I am opening the URL from my application in a UIWebView. If the URL is a normal web page, it works fine as expected. But if the URL is that of a remote video/audio file, the UIWebView opens the default player which is again good.
Now when I dismiss the UIWebView (by clicking on the Done button on the player), the streaming doesn't stop and the audio/video keeps playing in the background (I cannot see it but it does keep playing in the background, can hear it). The UIViewController in which the webview was created is also dealloced (I put in a log statement in the dealloc method) but the streaming doesn't stop.
Can someone please help me out on why this could be happening? And how can I stop the audio/video streaming when the UIWebView is closed?
Thanks.
© Stack Overflow or respective owner