| < Previous by Date | Date Index | Next by Date > |
| < Previous in Thread | Thread Index | Next in Thread > |
> @@ -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, view it on GitHub, or mute the thread.