GNOME Bugzilla – Bug 784495
souphttpsrc: soup session sharing cannot cover multi-streams
Last modified: 2017-07-04 06:14:33 UTC
libsoup defines default value of SOUP_SESSION_MAX_CONNS_PER_HOST as "2". Some adaptivestreams, however, requires more connection if we want to share session. (e.g., multi audio/subtitle streams).
Following stream could be played since it has two audio track. Although not linked stream will be stopped after pipeline configure, initially more connection is required. http://dash.akamaized.net/dash264/TestCases/10a/1/iis_forest_short_poem_multi_lang_480p_single_adapt_aaclc_sidx.mpd What is optimal approach to fix this? Do we need to use "max-conns-per-host" property of soup depending on the number of required connection? or new session?
We should probably set this value to infinity for our sessions. Do you want to provide a patch?
(In reply to Sebastian Dröge (slomo) from comment #2) > We should probably set this value to infinity for our sessions. Do you want > to provide a patch? Sure, I'll prepare it
Created attachment 354864 [details] [review] souphttpsrc: Unset limit on the number of connection if soup Soup allows only up to two connections per host in a session, if we use default value. When session sharing is used, however, more connections might be require in a session. (e.g., multi-audio adaptive streaming case)
Created attachment 354865 [details] [review] souphttpsrc: Unset limit on the number of connection if soup session sharing is used
Attachment 354865 [details] pushed as b0f09d4 - souphttpsrc: Unset limit on the number of connection if soup session sharing is used