mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
bridge_softmix: Add SDP "label" attribute to streams
Adding the "label" attribute used for participant info correlation was previously done in app_confbridge but it wasn't working correctly because it didn't have knowledge about which video streams belonged to which channel. Only bridge_softmix has that data so now it's set when the bridge topology is changed. ASTERISK-28107 Change-Id: Ieddeca5799d710cad083af3fcc3e677fa2a2a499
This commit is contained in:
@@ -4018,6 +4018,13 @@ const char *ast_bridge_video_mode_to_string(enum ast_bridge_video_mode_type vide
|
||||
}
|
||||
}
|
||||
|
||||
void ast_bridge_set_send_sdp_label(struct ast_bridge *bridge, unsigned int send_sdp_label)
|
||||
{
|
||||
ast_bridge_lock(bridge);
|
||||
bridge->softmix.send_sdp_label = send_sdp_label;
|
||||
ast_bridge_unlock(bridge);
|
||||
}
|
||||
|
||||
static int channel_hash(const void *obj, int flags)
|
||||
{
|
||||
const struct ast_channel *chan = obj;
|
||||
|
Reference in New Issue
Block a user