[Live-devel] Possible bug in RTPInterface::sendDataOverTCP
Hardik Sangani
hardik.sangani at vvdntech.com
Fri Mar 20 03:20:33 PDT 2015
Hi ,
Thanks for your instant reply,
I am not saying there is bug in code. I am really sorry if you felt so. we
are using live555 code as RTSP server, we started with doing UDP streaming
which works very well, now our customer wants to change it to TCP. so we
are trying to debug.
we are using wis-streamer code as RTSP server, our sdk contains older code
(1996-2012) where we faced this issue, so i updated the libraries like
livemedia, groupsocket, proxyserver,mediaserver which are mainly required
for handshaking.Then also same problem is there.
I have some queries regarding this, please help me to understand this, i am
not an expert but beginner in this area.
1) what is the reliable bitrate to stream over tcp.?
2) If i enable firewall to block UDP packets, will it helpful for me?
3) For debugging purpose I enabled the debug prints, will this cause any
delay in video or it does not matter.
4) Can you please tell me the basic things i should check to go for TCP
streaming.?
Your help will be very useful for me to debug and fix the issue.
Thank you,
-Regards,
Hardik
*With Warm Regards,*
Hardik Sangani
VVDN Technologies Pvt Ltd
*Cell : *+91 9176120633* | Skype : hardikjsangani*
On Fri, Mar 20, 2015 at 3:02 PM, Ross Finlayson <finlayson at live555.com>
wrote:
> I am trying to stream rtp over tcp and i am facing the issue like stream
> is stopping after 3-4 mins(I am using VLC as a client)
>
>
> Oh please! Why do you think that this means that there is a bug in our
> code at all, let alone a bug in one specific function?
>
> I assume (although you didn’t say explicitly) that you have used the
> “LIVE555 Streaming Media” code to implement a server.
>
> I suspect that what’s happening is simply that your server is trying to
> transmit a stream whose bitrate exceeds the capacity of your network. If
> that happens, you WILL lose data. Streaming over TCP cannot save you here.
>
> If this is the case, you need either a slower stream, or a faster
> network. You should also avoid streaming over TCP, if possible.
> (Streaming over TCP is something that you should do only if you have a
> firewall - between your server and client - that blocks UDP packets.)
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150320/fc74b4df/attachment.html>
More information about the live-devel
mailing list