mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Merge "res_pjsip_session: Always bundle streams if WebRTC is enabled."
This commit is contained in:
@@ -456,6 +456,12 @@ struct ast_sip_session_media *ast_sip_session_media_state_add(struct ast_sip_ses
|
||||
return NULL;
|
||||
}
|
||||
session_media->bundle_group = 0;
|
||||
|
||||
/* Some WebRTC clients can't handle an offer to bundle media streams. Instead they expect them to
|
||||
* already be bundled. Every client handles this scenario though so if WebRTC is enabled just go
|
||||
* ahead and treat the streams as having already been bundled.
|
||||
*/
|
||||
session_media->bundled = session->endpoint->media.webrtc;
|
||||
} else {
|
||||
session_media->bundle_group = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user