Can I reliably send data using a pjmedia ice transport?

葛凯麟
Tue, May 5, 2015 2:05 AM

I have studied PJSIP for a few days, and now I know how to establish an ICE based media connection for basic audio transmission.

It seems that the audio data is transmitted using RTP packets, which may lost during the transmission.

What should I do if I want to send some custom data (arbitrary bytes, which may be very long) using an established ICE transport?

I have studied PJSIP for a few days, and now I know how to establish an ICE based media connection for basic audio transmission. It seems that the audio data is transmitted using RTP packets, which may lost during the transmission. What should I do if I want to send some custom data (arbitrary bytes, which may be very long) using an established ICE transport?
BG
Bill Gardner
Tue, May 5, 2015 2:09 PM

The short answer is don't use RTP, use some transport based on TCP. - Bill

On 5/4/2015 10:05 PM, 葛凯麟 wrote:

I have studied PJSIP for a few days, and now I know how to establish
an ICE based media connection for basic audio transmission.

It seems that the audio data is transmitted using RTP packets, which
may lost during the transmission.

What should I do if I want to send some custom data (arbitrary bytes,
which may be very long) using an established ICE transport?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

The short answer is don't use RTP, use some transport based on TCP. - Bill On 5/4/2015 10:05 PM, 葛凯麟 wrote: > I have studied PJSIP for a few days, and now I know how to establish > an ICE based media connection for basic audio transmission. > > It seems that the audio data is transmitted using RTP packets, which > may lost during the transmission. > > What should I do if I want to send some custom data (arbitrary bytes, > which may be very long) using an established ICE transport? > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org