2019-12-21 04:00:56 +08:00
|
|
|
diff --git a/liveMedia/RTSPClient.cpp b/liveMedia/RTSPClient.cpp
|
2023-04-05 06:41:15 +08:00
|
|
|
index 66e0c79..13255af 100644
|
2019-12-21 04:00:56 +08:00
|
|
|
--- a/liveMedia/RTSPClient.cpp
|
|
|
|
+++ b/liveMedia/RTSPClient.cpp
|
2023-04-05 06:41:15 +08:00
|
|
|
@@ -2029,7 +2029,7 @@ int RTSPClient::write(const char* data, unsigned count) {
|
2022-08-05 01:38:23 +08:00
|
|
|
if (fOutputTLS->isNeeded) {
|
|
|
|
return fOutputTLS->write(data, count);
|
2019-12-21 04:00:56 +08:00
|
|
|
} else {
|
2023-04-05 06:41:15 +08:00
|
|
|
- return send(fOutputSocketNum, data, count, MSG_NOSIGNAL);
|
|
|
|
+ return send(fOutputSocketNum, (const char *)data, count, MSG_NOSIGNAL);
|
2019-12-21 04:00:56 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|