解决rtsp播放器TEARDOWN不传url的问题:#631
This commit is contained in:
parent
8efb2da572
commit
544797e501
|
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue