Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
bf00b3ba
Commit
bf00b3ba
authored
1 year ago
by
Andrea Gianarda
Browse files
Options
Download
Patches
Plain Diff
Create only as many streams as the offer has even if the local media description was bigger
parent
cc4bdc9f
master
compat/ios_app_5_3
deleteme
feature/AEC3
feature/account_manager_services_devices_list
feature/allow-raw-mwi-notification
feature/basic_auth
feature/conference_availability
feature/lime_status_by_uri
feature/load-static-ms2-plugins
feature/media_encryption_settings_on_account
feature/medialess
feature/screensharing_clean
feature/swift_push_unit_tests
feature/test-new-ccmp-deployment
feature/to-delete-compile-last-wrapper
fix/ECC-for-desktop
fix/account-lime-user-creation
fix/android_window
fix/auth_info_finding
fix/build-with-cmake4
fix/chat_lesage_local_address_no_contact
fix/conf_unschedule_video
fix/copy_message_id_content_operator
fix/database
fix/db_friend_list_fix
fix/didUpdatePushCredentials_debug_investigation
fix/encrypted_chat_subscription_failed
fix/fec-find-payload-type-number-master
fix/fixes-from-5.4-march-2
fix/force_shared_lib_python_wrapper
fix/import-from-legacy-db
fix/itc-misuse
fix/jvm_cpp_wrapper_on_android
fix/message_not_sent_rework
fix/no-longer-use-deprecated-findpythoninterp-cmake-module
fix/opengl_54
fix/optimize_conference_reinvite
fix/paused_by_remote_no_rtp_timeout_master
fix/playfile
fix/plugin_timeout
fix/python_build_macos
fix/python_const_build_warning
fix/qt_crash
fix/revert_swift_wrapper_maybenil_not_processed_in_setters_that_throws
fix/screen_jul
fix/startup_restart
fix/swift_wrapper_maybenil_in_setters_bug_5_4
fix/switch_data_sync_to_short_service
fix/tone-indications
fix/transfer_state
fix/turn-relay
fix/unsubscribe_upon_core_stop
fix/uuid4-generation
fix/webrtc-ice
fix/window_build_dec24
fix/workaround_for_sip_simple_messages_with_bad_to_header
hotfix/use-negotiated-extension-ids
release/5.4
test/ansible
test/call_no_routes
test/lime_double_digest_auth_challenge
workaround/voip_push_handled_in_app
5.5.0-alpha
5.4.8
5.4.7
5.4.6
5.4.5
5.4.4
5.4.3
5.4.2
5.4.1
5.4.0
5.4.0-beta
1 merge request
!2904
Create only as many streams as the offer has even if the local media description was bigger
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conference/session/streams-group.cpp
+4
-2
src/conference/session/streams-group.cpp
with
4 additions
and
2 deletions
src/conference/session/streams-group.cpp
+
4
−
2
View file @
bf00b3ba
...
...
@@ -111,8 +111,10 @@ void StreamsGroup::fillLocalMediaDescription(OfferAnswerContext ¶ms) {
void
StreamsGroup
::
createStreams
(
const
OfferAnswerContext
&
params
)
{
size_t
index
;
const
auto
&
localMd
=
params
.
localMediaDescription
;
for
(
index
=
0
;
index
<
localMd
->
streams
.
size
();
++
index
)
{
// If the offer answer context has a remote media description, it means that we are replying to an INVITE, therefore
// we need to create only as many streams as the offer has
const
auto
&
md
=
params
.
remoteMediaDescription
?
params
.
remoteMediaDescription
:
params
.
localMediaDescription
;
for
(
index
=
0
;
index
<
md
->
streams
.
size
();
++
index
)
{
Stream
*
s
=
nullptr
;
params
.
scopeStreamToIndexWithDiff
(
index
,
mCurrentOfferAnswerState
);
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets