set flag on packet for retransmition

P
poste9
Thu, Apr 14, 2016 12:34 PM

I have implemented the libx264 codec for video call using pjsip and Im
wondering if there is any way to make sure a specific packet has arrived.

Im not talking about frames but I would like to send SEI/SPS/PPS only one
time and make sure they arrived on the other side.

At this moment I managed to send the packets but in a real world
application I cant know if they will reach the other end.

I could use something to make that signaling by myself but I would lose
conpatibility.

My real question is if I can set some flag on the rtp packet or maybe using
pjmedia itself to mark the header packets and get a response from the other
end when its all good. And of course using something RFC like.

I hope I managed to explain myself and thank you all in advance.

I have implemented the libx264 codec for video call using pjsip and Im wondering if there is any way to make sure a specific packet has arrived. Im not talking about frames but I would like to send SEI/SPS/PPS only one time and make sure they arrived on the other side. At this moment I managed to send the packets but in a real world application I cant know if they will reach the other end. I could use something to make that signaling by myself but I would lose conpatibility. My real question is if I can set some flag on the rtp packet or maybe using pjmedia itself to mark the header packets and get a response from the other end when its all good. And of course using something RFC like. I hope I managed to explain myself and thank you all in advance.
BG
Bill Gardner
Thu, Apr 14, 2016 1:56 PM

There isn't a mechanism to do that via RTP that I'm aware of. If the
receiver needs a key frame it requests one by sending a "picture fast
update" message via SIP INFO. PJSIP implements this mechanism. - Bill

On 4/14/2016 8:34 AM, poste9 wrote:

I have implemented the libx264 codec for video call using pjsip and Im
wondering if there is any way to make sure a specific packet has arrived.

Im not talking about frames but I would like to send SEI/SPS/PPS only
one time and make sure they arrived on the other side.

At this moment I managed to send the packets but in a real world
application I cant know if they will reach the other end.

I could use something to make that signaling by myself but I would
lose conpatibility.

My real question is if I can set some flag on the rtp packet or maybe
using pjmedia itself to mark the header packets and get a response
from the other end when its all good. And of course using something
RFC like.

I hope I managed to explain myself and thank you all in advance.


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

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

There isn't a mechanism to do that via RTP that I'm aware of. If the receiver needs a key frame it requests one by sending a "picture fast update" message via SIP INFO. PJSIP implements this mechanism. - Bill On 4/14/2016 8:34 AM, poste9 wrote: > > I have implemented the libx264 codec for video call using pjsip and Im > wondering if there is any way to make sure a specific packet has arrived. > > Im not talking about frames but I would like to send SEI/SPS/PPS only > one time and make sure they arrived on the other side. > > At this moment I managed to send the packets but in a real world > application I cant know if they will reach the other end. > > I could use something to make that signaling by myself but I would > lose conpatibility. > > My real question is if I can set some flag on the rtp packet or maybe > using pjmedia itself to mark the header packets and get a response > from the other end when its all good. And of course using something > RFC like. > > I hope I managed to explain myself and thank you all in advance. > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
BG
Bill Gardner
Thu, Apr 14, 2016 2:03 PM

Spoke too soon. RFC 5104 specifies a way to send a "full intra request"
via RTCP. This is a different way to do it than the "picture fast
update" sent via SIP INFO, described in RFC 5168. I don't believe PJSIP
implements 5104 unless it's a recent addition. - Bill

On 4/14/2016 8:34 AM, poste9 wrote:

I have implemented the libx264 codec for video call using pjsip and Im
wondering if there is any way to make sure a specific packet has arrived.

Im not talking about frames but I would like to send SEI/SPS/PPS only
one time and make sure they arrived on the other side.

At this moment I managed to send the packets but in a real world
application I cant know if they will reach the other end.

I could use something to make that signaling by myself but I would
lose conpatibility.

My real question is if I can set some flag on the rtp packet or maybe
using pjmedia itself to mark the header packets and get a response
from the other end when its all good. And of course using something
RFC like.

I hope I managed to explain myself and thank you all in advance.


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

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

Spoke too soon. RFC 5104 specifies a way to send a "full intra request" via RTCP. This is a different way to do it than the "picture fast update" sent via SIP INFO, described in RFC 5168. I don't believe PJSIP implements 5104 unless it's a recent addition. - Bill On 4/14/2016 8:34 AM, poste9 wrote: > > I have implemented the libx264 codec for video call using pjsip and Im > wondering if there is any way to make sure a specific packet has arrived. > > Im not talking about frames but I would like to send SEI/SPS/PPS only > one time and make sure they arrived on the other side. > > At this moment I managed to send the packets but in a real world > application I cant know if they will reach the other end. > > I could use something to make that signaling by myself but I would > lose conpatibility. > > My real question is if I can set some flag on the rtp packet or maybe > using pjmedia itself to mark the header packets and get a response > from the other end when its all good. And of course using something > RFC like. > > I hope I managed to explain myself and thank you all in advance. > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org