Image automatically cancelled when run opencv on AWS

Hi my name is Himanshu I have deployed streamlit app on AWS. here is URL :
http://3.134.86.122:8501/

Video can’t play smoothly on AWS server. Images are automatically canceled.