From a26cae03d95874e070c09a3cb4c8da1959e5ace2 Mon Sep 17 00:00:00 2001 From: zafer Date: Sun, 16 Jun 2024 17:36:22 +0300 Subject: [PATCH] use avc1 with repeated sps & pps --- lib/algora/source_bin.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/algora/source_bin.ex b/lib/algora/source_bin.ex index c537934..8a4c377 100644 --- a/lib/algora/source_bin.ex +++ b/lib/algora/source_bin.ex @@ -72,7 +72,10 @@ defmodule Algora.SourceBin do child(:audio_parser, %Membrane.AAC.Parser{ out_encapsulation: :none }), - child(:video_parser, Membrane.H264.Parser), + child(:video_parser, %Membrane.H264.Parser{ + output_stream_structure: :avc1, + repeat_parameter_sets: true + }), # get_child(:demuxer) |> via_out(Pad.ref(:audio, 0))