mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-23 01:57:50 +08:00
Pre Merge pull request !23 from Ikko Ashimine/N/A
This commit is contained in:
commit
9fe0ed918e
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
|
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
|
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
|
||||||
@ -307,7 +307,7 @@ void RtspSession::handleReq_ANNOUNCE(const Parser &parser) {
|
|||||||
void RtspSession::handleReq_RECORD(const Parser &parser){
|
void RtspSession::handleReq_RECORD(const Parser &parser){
|
||||||
if (_sdp_track.empty() || parser["Session"] != _sessionid) {
|
if (_sdp_track.empty() || parser["Session"] != _sessionid) {
|
||||||
send_SessionNotFound();
|
send_SessionNotFound();
|
||||||
throw SockException(Err_shutdown, _sdp_track.empty() ? "can not find any availabe track when record" : "session not found when record");
|
throw SockException(Err_shutdown, _sdp_track.empty() ? "can not find any available track when record" : "session not found when record");
|
||||||
}
|
}
|
||||||
|
|
||||||
_StrPrinter rtp_info;
|
_StrPrinter rtp_info;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user