[reSIProcate] [resiprocate/resiprocate] send presence mechanism through PUBLICATION message (#52)
Mateus Augusto Bellomo Agrello Ruivo
notifications at github.com
Tue Aug 9 09:06:23 CDT 2016
> @@ -569,6 +610,79 @@ UserAgent::destroySubscriptionImpl(SubscriptionHandle handle)
> }
> }
>
> +void
> +UserAgent::createPublicationImpl(PublicationHandle handle, const Data& status, const Data& eventType, const NameAddr& target, unsigned int publicationTime, const Mime& mimeType)
> +{
> + // Ensure we have a client publication handler for this event type
> + if(!mDum.getClientPublicationHandler(eventType))
> + {
> + mDum.addClientPublicationHandler(eventType, this);
> + }
> + // Ensure that the request Mime type is supported in the dum profile
> + if(!mProfile->isMimeTypeSupported(PUBLISH, mimeType))
> + {
> + mProfile->addSupportedMimeType(PUBLISH, mimeType);
I got this from [1].
[1] https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicPublication.cxx#L107
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/52/files/e0897e2885abd5e59bea8b7669ce3c42e9295d93#r74064111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160809/142269c0/attachment.htm>
More information about the resiprocate-devel
mailing list