pull/296/head
mpromonet 3 years ago
parent 90dfcb1ec0
commit 9638a1573b

@ -342,7 +342,12 @@ void HTTPServer::HTTPClientConnection::handleHTTPCmd_StreamingGET(char const* ur
sockaddr_storage clientAddress = { 0 };
sockaddr_storage destinationAddress = { 0 };
#endif
#if LIVEMEDIA_LIBRARY_VERSION_INT < 1636848000
subsession->getStreamParameters(m_ClientSessionId, clientAddress, clientRTPPort, clientRTCPPort, -1, 0, 0, destinationAddress, destinationTTL, isMulticast, serverRTPPort, serverRTCPPort, m_StreamToken);
#else
subsession->getStreamParameters(m_ClientSessionId, clientAddress, clientRTPPort, clientRTCPPort, -1, 0, 0, NULL, destinationAddress, destinationTTL, isMulticast, serverRTPPort, serverRTCPPort, m_StreamToken);
#endif
// Seek the stream source to the desired place, with the desired duration, and (as a side effect) get the number of bytes:
double dOffsetInSeconds = (double)offsetInSeconds;

Loading…
Cancel
Save