RTMP push streaming media protocol video live/on-demand platform EasyDSS can continue to play after video playback is turned off

TSINGSEE Qingxi Video's full line of products support audio playback. If the camera device itself has a pickup, it can automatically play audio when connected to the video platform. If the camera has no audio function, you can also add audio such as soundtrack to the platform. For example, the EasyDSS live video-on-demand platform can add audio links in the platform configuration.

EasyDSS architecture diagram 2.5D.png

When the live video on-demand platform EasyDSS plays back the live video, if audio is added, the following will happen occasionally: in the list view, play the video file, and then close the playback window. At this time, the sound of the video file playback can still be heard.

17.png

Under normal circumstances, after closing the playback window, the playback will be terminated immediately, and the playback sound of the video file will no longer be heard.

After researching and investigating, the problem was caused by not destroying the player immediately after closing the player.

Therefore, we can directly modify the code and add the player destruction event after closing the popup box, as shown below:

19.png

At this time, the audio will stop after the player ends, and the BUG will no longer reappear.

The reason why we will continue to share the solutions to these problems and the handling of bugs in the blog is that on the one hand, we can let everyone know the functions of the full range of TSINGSEE video products, on the other hand, we can also discuss with you what we currently exist. For further optimization. So if you have anything you want to know or make suggestions, you can contact us, and we will continue to conduct internal tests based on the actual situation.

And EasyDSS is already a mature video streaming server, so you can test and try it with confidence. For more video-related solutions, please log in to TSINGSEE Qingxi Video to read and understand.

Guess you like

Origin blog.csdn.net/EasyDSS/article/details/108767539