I have searched and made sure there are no existing issues for the issue I am filing
Description
If you try to release memory when using the Ti.Media.VideoPlayer it will crash the app on TiSDK 13.2.0.GA.
Expected Behavior
It should release memory and not crash.
Actual behavior
Calling .release() on a Ti.Media.VideoPlayer instance crashes the app immediately on iOS. The app closes without any graceful error handling. The crash occurs consistently every time .release() is invoked.
Reproducible sample
var win = Ti.UI.createWindow({
backgroundColor: '#000'
});
var container = Ti.UI.createView({
layout: 'vertical',
width: Ti.UI.SIZE,
height: Ti.UI.SIZE,
top: '10%'
});
win.add(container);
var player = Ti.Media.createVideoPlayer({
url: 'https://assets.ign.com/videos/zencoder/2025/09/23/1920/952bdd2f-5cdf-4c29-a3ff-3618ade75f31-1758670361.mp4',
left: 16,
right: 16,
height: 220,
autoplay: false,
mediaControlStyle: Ti.Media.VIDEO_CONTROL_DEFAULT
});
container.add(player);
var btn = Ti.UI.createButton({
title: 'Release Video Player',
top: 32,
width: Ti.UI.SIZE,
height: Ti.UI.SIZE
});
container.add(btn);
btn.addEventListener('click', function () {
player.stop();
player.release();
});
win.open();
Steps to reproduce
Play the video for a few seconds then click the "Release Video Player" button.
Platform
iOS
SDK version you are using
13.2.0.GA
Alloy version you are using
No response
I have searched and made sure there are no existing issues for the issue I am filing
Description
If you try to release memory when using the Ti.Media.VideoPlayer it will crash the app on TiSDK 13.2.0.GA.
Expected Behavior
It should release memory and not crash.
Actual behavior
Calling .release() on a Ti.Media.VideoPlayer instance crashes the app immediately on iOS. The app closes without any graceful error handling. The crash occurs consistently every time .release() is invoked.
Reproducible sample
Steps to reproduce
Play the video for a few seconds then click the "Release Video Player" button.
Platform
iOS
SDK version you are using
13.2.0.GA
Alloy version you are using
No response