Skip to content

PJSIP_MEDIA_OFFER()

Synopsis

Media and codec offerings to be set on an outbound SIP channel prior to dialing.

Description

When read, returns the codecs offered based upon the media choice.

When written, sets the codecs to offer when an outbound dial attempt is made, or when a session refresh is sent using PJSIP_SEND_SESSION_REFRESH.

Syntax

PJSIP_MEDIA_OFFER(media)
Arguments
  • media - The type of media offered

    • audio - Audio codecs to offer

    • video - Video codecs to offer

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT