VT: Remove assertion in send() function.

[Problem] Media server got crashed if wifi connection is disconnected
while ARTPWriter is sending rtp packets.

[Cause] There is an assertion condition in send().

[Solution] Remove assertion in send().

Bug: 121230209
Change-Id: I24d9d673afed529e4e571f6fefc3b2ae0c7fef1a
Signed-off-by: Byeongjo Park <bjo.park@samsung.com>
diff --git a/media/libstagefright/rtsp/ARTPWriter.cpp b/media/libstagefright/rtsp/ARTPWriter.cpp
index 546f4cb..f006e1e 100644
--- a/media/libstagefright/rtsp/ARTPWriter.cpp
+++ b/media/libstagefright/rtsp/ARTPWriter.cpp
@@ -498,7 +498,9 @@
     ssize_t n = sendto(isRTCP ? mRTCPSocket : mRTPSocket,
             buffer->data(), buffer->size(), 0, remAddr, sizeSockSt);
 
-    CHECK_EQ(n, (ssize_t)buffer->size());
+    if (n != (ssize_t)buffer->size()) {
+        ALOGW("packets can not be sent. ret=%d, buf=%d", (int)n, (int)buffer->size());
+    }
 
 #if LOG_TO_FILES
     int fd = isRTCP ? mRTCPFd : mRTPFd;