Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix RAOP time request failing to send

Was using the wrong socket.
Also fix typo in OPTIONS response.
  • Loading branch information...
commit 374e2cd64c77f061aea398658a808c1ebdbb8d7e 1 parent 29cd39b
@jyavenard jyavenard authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/mythraopconnection.cpp
View
4 mythtv/libs/libmythtv/mythraopconnection.cpp
@@ -456,7 +456,7 @@ void MythRAOPConnection::SendTimeRequest(void)
*(uint32_t *)(req + 24) = qToBigEndian((uint32_t)t.tv_sec);
*(uint32_t *)(req + 28) = qToBigEndian((uint32_t)t.tv_usec);
- if (m_clientControlSocket->writeDatagram(req, sizeof(req), m_peerAddress, m_clientTimingPort) != sizeof(req))
+ if (m_clientTimingSocket->writeDatagram(req, sizeof(req), m_peerAddress, m_clientTimingPort) != sizeof(req))
{
LOG(VB_GENERAL, LOG_ERR, LOC + "Failed to send resend time request.");
return;
@@ -940,7 +940,7 @@ void MythRAOPConnection::ProcessRequest(const QStringList &header,
}
StartResponse(m_textStream, option, tags["CSeq"]);
*m_textStream << "Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, "
- "TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER. POST, GET\r\n";
+ "TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER, POST, GET\r\n";
}
else if (option == "ANNOUNCE")
{
Please sign in to comment.
Something went wrong with that request. Please try again.