'streaming stopped, reason not-negotiated (-4)' with h264parse when using tee element

While I was stuck in this, I tried a different approach using dinamic pipelines. I got stuck too, but the result seems more stable. I made another post in case it might help someone.

I still want to make this work, the valve element seems more suitable for what I’m trying to achive. I found this other post with a similar problem and they solved it by adding the parser after the tee element.

I will post any progress I make.