|
From: | Scott Zhang |
Subject: | Re: [Linphone-developers] oRTP over TCP |
Date: | Mon, 6 Feb 2012 13:26:08 +0800 |
Dear Scott,I use wireshark to looking at RTP over TCP communication, I found that RTSP, RTP and RTCP all use same connection to trans data.So, I try to use rtp_session_set_sockets with socket of client connected and send RTP, RTCP packet back, no view to display sadly and ortp will return send error.ORTP supports TCP ?????Regards, Eric, 02/032012/2/2 Scott Zhang <address@hidden>
Hello.
Just note you are only replying to me alone.
set transport let you use your own transport protocol. You will need to write the write packet callback to send and read callback to get data. Not sure about set socket, I encounter it first when I want to send rtp over P2P. But that's not what I need. You can check code to see how do ortp use socket fd.
Regards.
ScottOn Thu, Feb 2, 2012 at 1:51 PM, Eric Hsieh(Psychesnet) <address@hidden> wrote:
Hi Scott,Thanks your reply, but I do not understand the relationship between set_transport and RTP over TCP, could you explain for me ? thanks a lot.In the other hand, I find out the function "rtp_session_set_sockets", this can set file description into session, but I have no idea how to use this.Does anyone have the info of rtp_session_set_sockets, please tell me, Thanks a lot.Regards, Eric, 02/022012/2/2 Scott Zhang <address@hidden>
Hello.
You can use "set_transport" feature. Check code. I am using set_transport to sent rtp over Bittorrent network.
Regards.
ScottOn Thu, Feb 2, 2012 at 11:24 AM, Eric Hsieh(Psychesnet) <address@hidden> wrote:
_______________________________________________Dear All,I have a question to need you help.We use ortp-0.16.1 to send rtp packet for video and audio stream,but how do configure the ortp for RTP over TCP ?Is it possible for support TCP ?Please help me, thanks a lot.Regards, Eric, 02/02
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |