[Live-devel] Add a "reason for leaving" in RTCP Bye packet

GENESTIER Denis denis.genestier at thalesgroup.com
Thu Dec 13 23:24:12 PST 2018


Akim,
Bonne nouvelle ça a l’air d’être fait !!

Denis.

[Thales]

Denis GENESTIER
INGENIEUR COMPOSANTS LOGICIEL
Tel.: +33 (0) 1 73 32 19 51
Fax: +33 (0)1 73 32 16 95

THALES COMMUNICATIONS & SECURITY S.A.S
20-22 rue Grange Dame Rose
78141 VELIZY Cedex

www.thalesgroup.com<http://www.thalesgroup.com>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_linkedin.png]<http://www.linkedin.com/company/thales>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_twitter.png]<https://twitter.com/thalesgroup>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_fb.png]<https://www.facebook.com/thalesgroup>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_youtube.png]<https://www.youtube.com/user/thethalesgroup>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_pinterest.png]<https://pinterest.com/thalesgroup/>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_google.png]<https://plus.google.com/+thales>





De : live-devel [mailto:live-devel-bounces at ns.live555.com] De la part de Ross Finlayson
Envoyé : vendredi 14 décembre 2018 06:26
À : live-devel at lists.live555.com
Objet : [Live-devel] Add a "reason for leaving" in RTCP Bye packet

Thanks to Denis Genestier for this suggestion.  I have now installed a new version (2018.12.14) of the “LIVE555 Streaming Media” code that implements this (for both sending and receiving RTCP “BYE” packets).  There has been a change to the API.  This API change is backwards compatible; however, existing application code will need to be recompiled.

- The function “RTCPInstance::sendBYE()” now takes an optional “reason” parameter.
- The function “RTCPInstance::setByeHandler()” remains; as before, it does not use the “reason” at all.
- There’s a new function “RTCPInstance::setByeWithReasonHandler()”, with the same functionality as “setByeHandler()”, except that the handler function takes a “reason” parameter.  (This “reason” will be a dynamically-allocated “char const*” (or NULL); it should be delete[]d by the handler function.)

I have updated the “openRTSP” and “testRTSPClient” applications to display the reason (if any) whenever a RTCP “BYE” packet arrives.

Let me know if you have any problems with this new functionality.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2428 bytes
Desc: image001.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1621 bytes
Desc: image002.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1621 bytes
Desc: image003.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1488 bytes
Desc: image004.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1490 bytes
Desc: image005.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1709 bytes
Desc: image006.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1802 bytes
Desc: image007.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20181214/d98636c4/attachment-0013.png>


More information about the live-devel mailing list