Allow MediaPlayer to be closed on application shutdown
See original GitHub issueAdd a stop() function to the MediaPlayer so that an application can shutdown cleanly. This is also the case for the webcam example. This will only properly close if a peer connection was opened at least once.
I already wrote a stop function so I could do a PR
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
How to get Android MediaPlayer() to stop when app is closed?
My android app creates a MediaPlayer() and plays a looping song. I need to have it stop playing when the user leaves the...
Read more >MediaPlayer - Android Developers
This callback allows applications to keep track of the buffering status while streaming ... It is the caller's responsibility to close the file...
Read more >Windows Media Player Not Working In Windows 10/8/7 FIX ...
Windows Media Player Not Working In Windows 10/8/7 FIX [2022]Link: https://www.mediaplayercodecpack.com/At times, you may find that your ...
Read more >Play audio and video with MediaPlayer - UWP - Microsoft Learn
When your app is done using a MediaPlayer, you should call the Close method (projected to Dispose in C#) to clean up the...
Read more >PlayStation Media Player (US)
Go to Settings > Accessibility > Closed Captions and select Display Closed Captions. Restart the Media Player, start a video and press the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh wait you can also use .audio.stop() and .video.stop
This issue was closed because it has been stalled for 7 days with no activity.