Always try to open the shm interface when needed -- it should be already open, but ya never know.

This commit is contained in:
Mike Brady
2022-02-26 08:28:49 +00:00
parent c6fd0fbfdb
commit c0feef51f8
+1
View File
@@ -2686,6 +2686,7 @@ void handle_setup_2(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp)
// if it's a full service PTP stream, we get groupUUID, groupContainsGroupLeader and
// timingPeerList
if (conn->airplay_stream_category == ptp_stream) {
ptp_shm_interface_open(); // it should be open already, but just in case it isn't...
ptp_send_control_message_string("T"); // remove all previous history
debug_log_rtsp_message(2, "SETUP \"PTP\" message", req);
plist_t groupUUID = plist_dict_get_item(messagePlist, "groupUUID");