Hi aayush_gupta1,
It's normal behavior for iPhone to warm up when streaming high-quality video. As long as a temperature warning isn't displayed, you can continue to use the device. Check out that information in the following article:
If your iPhone or iPad gets too hot or too cold - Apple Support
Your device might get warm
You might notice that your device feels warmer when you:
* Set up your device the first time
* Restore from a backup
* Wirelessly charge your device
* Use graphics-intensive or processor-intensive apps, games, or features, including augmented-reality apps
* Stream high-quality video
These conditions are normal, and your device will return to a regular temperature when the process is complete or when you finish your activity. If your device doesn't display a temperature warning, you can keep using your device.
If you notice the battery is draining only when using a 3rd-party application, then work with the app developer for assistance with the behavior: How to contact an app developer - Apple Support
If you notice the battery is draining when using Apple built-in applications, such as FaceTime, then reach out to Apple Support to help investigate the behavior. You can use the following link to reach out: Apple Support
Kind regards.