Handle RTSP packets that are broken up in more than two pieces
This commit is contained in:
parent
616f62fb9f
commit
136e9c43a5
3 changed files with 36 additions and 11 deletions
|
|
@ -721,7 +721,7 @@ void resume(bool &host_audio, resp_https_t response, req_https_t request) {
|
|||
stream::launch_session_raise(make_launch_session(host_audio, args));
|
||||
|
||||
tree.put("root.<xmlattr>.status_code", 200);
|
||||
tree.put("root.sessionUrl0", "rtspru://"s + request->local_endpoint_address() + ':' + std::to_string(map_port(stream::RTSP_SETUP_PORT)));
|
||||
tree.put("root.sessionUrl0", "rtsp://"s + request->local_endpoint_address() + ':' + std::to_string(map_port(stream::RTSP_SETUP_PORT)));
|
||||
tree.put("root.resume", 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue