diff options
author | Joshua Colp <jcolp@digium.com> | 2017-10-25 22:31:33 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2017-10-30 22:09:59 +0000 |
commit | 046c250199d4be728463e8450894d4864e7287fd (patch) | |
tree | f927eb58a7b9e0b31cff38817c21dc3f334f7851 /include/asterisk/res_pjsip_session.h | |
parent | 760fab5e0b6899651e10e0e1d86d6adb5b3e33b3 (diff) |
core / pjsip: Add support for grouping streams together.
In WebRTC streams (or media tracks in their world) can be grouped
together using the mslabel. This informs the browser that each
should be synchronized with each other.
This change extends the stream API so this information can
be stored with streams. The PJSIP support has been extended
to use the mslabel to determine grouped streams and store
this association on the streams. Finally when creating the
SDP the group information is used to cause each media stream
to use the same mslabel.
ASTERISK-27379
Change-Id: Id6299aa031efe46254edbdc7973c534d54d641ad
Diffstat (limited to 'include/asterisk/res_pjsip_session.h')
-rw-r--r-- | include/asterisk/res_pjsip_session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip_session.h b/include/asterisk/res_pjsip_session.h index 70f94682e..de6589abd 100644 --- a/include/asterisk/res_pjsip_session.h +++ b/include/asterisk/res_pjsip_session.h @@ -111,6 +111,8 @@ struct ast_sip_session_media { char label[AST_UUID_STR_LEN]; /*! \brief The underlying session has been changed in some fashion */ unsigned int changed; + /*! \brief Remote media stream label */ + char *remote_mslabel; }; /*! |