2019-12-21 04:00:56 +08:00
|
|
|
diff --git a/liveMedia/RTSPClient.cpp b/liveMedia/RTSPClient.cpp
|
2022-08-05 01:38:23 +08:00
|
|
|
index 130baa9..8e1ea10 100644
|
2019-12-21 04:00:56 +08:00
|
|
|
--- a/liveMedia/RTSPClient.cpp
|
|
|
|
+++ b/liveMedia/RTSPClient.cpp
|
2022-08-05 01:38:23 +08:00
|
|
|
@@ -2022,7 +2022,7 @@ int RTSPClient::write(const char* data, unsigned count) {
|
|
|
|
if (fOutputTLS->isNeeded) {
|
|
|
|
return fOutputTLS->write(data, count);
|
2019-12-21 04:00:56 +08:00
|
|
|
} else {
|
|
|
|
- return send(fOutputSocketNum, data, count, 0);
|
|
|
|
+ return send(fOutputSocketNum, (const char *)data, count, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|