mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
解决rtsp播放器TEARDOWN不传url的问题:#631
This commit is contained in:
@@ -37,7 +37,9 @@ RtspPlayer::~RtspPlayer(void) {
|
||||
}
|
||||
void RtspPlayer::teardown(){
|
||||
if (alive()) {
|
||||
if (!_content_base.empty()) {
|
||||
sendRtspRequest("TEARDOWN", _content_base);
|
||||
}
|
||||
shutdown(SockException(Err_shutdown, "teardown"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user