Skip to content

Commit 20487de

Browse files
committed
fix(core): pipeline: set audio and video configuration according to all the output (and not ony the streaming output)
1 parent 2d35634 commit 20487de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/io/github/thibaultbee/streampack/core/pipelines/StreamerPipeline.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ open class StreamerPipeline(
587587
}
588588

589589
private suspend fun buildAudioSourceConfig(newAudioSourceConfig: AudioSourceConfig? = null): AudioSourceConfig {
590-
val audioSourceConfigs = safeStreamingOutputCall { streamingOutputs ->
590+
val audioSourceConfigs = safeOutputCall { streamingOutputs ->
591591
streamingOutputs.keys.filterIsInstance<IAudioPipelineOutputInternal>().mapNotNull {
592592
(it as? IConfigurableAudioPipelineOutputInternal)?.audioSourceConfigFlow?.value
593593
}.toMutableSet()
@@ -685,7 +685,7 @@ open class StreamerPipeline(
685685

686686
private suspend fun buildVideoSourceConfig(newVideoSourceConfig: VideoSourceConfig? = null): VideoSourceConfig {
687687
val videoSourceConfigs =
688-
safeStreamingOutputCall { streamingOutputs ->
688+
safeOutputCall { streamingOutputs ->
689689
streamingOutputs.keys.filterIsInstance<IVideoPipelineOutputInternal>()
690690
.filterIsInstance<IConfigurableVideoPipelineOutputInternal>()
691691
.mapNotNull { it.videoSourceConfigFlow.value }.toMutableSet()

0 commit comments

Comments
 (0)