[PATCH v2 3/8] strmbase: Introduce callbacks for streaming events.