Is your feature request related to a problem? Please describe.
When using HLS.js, I encountered a situation where calling hls.attachMedia(null) did not result in any error being logged to the console. This lack of feedback led to confusion and wasted time, as I spent two hours troubleshooting without clear guidance.
Describe the solution you'd like
It would be beneficial to improve error handling in HLS.js to provide more informative feedback when attachMedia is called with a null parameter. This could include logging an error message to the console indicating that a valid media element is required as a parameter.
Additional context
As a user of HLS.js, encountering unexpected behavior without adequate error reporting can be frustrating and time-consuming. Clearer error messages would greatly improve the developer experience and help users diagnose issues more efficiently.
Is your feature request related to a problem? Please describe.
When using HLS.js, I encountered a situation where calling hls.attachMedia(null) did not result in any error being logged to the console. This lack of feedback led to confusion and wasted time, as I spent two hours troubleshooting without clear guidance.
Describe the solution you'd like
It would be beneficial to improve error handling in HLS.js to provide more informative feedback when attachMedia is called with a null parameter. This could include logging an error message to the console indicating that a valid media element is required as a parameter.
Additional context
As a user of HLS.js, encountering unexpected behavior without adequate error reporting can be frustrating and time-consuming. Clearer error messages would greatly improve the developer experience and help users diagnose issues more efficiently.