Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问一下,iOS的ijkplayer释放资源要做哪些操作。 #2144

Open
lmyuanhang opened this issue Oct 20, 2016 · 1 comment
Open

问一下,iOS的ijkplayer释放资源要做哪些操作。 #2144

lmyuanhang opened this issue Oct 20, 2016 · 1 comment

Comments

@lmyuanhang
Copy link

我做了一个重新播放的操作,每次重新播放的时候,都要重新创建一个player,
在做这个之前我是这样释放资源的,
if(_player)
{
[self shutdown];
_player = nil;
}
接下来就是一开始播放的操作一样,但是每重新播放的时候内存都会增加7,8M这样的,
请问一下,我是否还要做其他的释放操作。

@bbcallen
Copy link
Contributor

[_player.view removeFromSuperview]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants